/* Attendance week/month/term views (js/attendance.js) */
.att-join { font-size: 10.5px; font-weight: 700; color: var(--brand); background: color-mix(in srgb, var(--brand) 12%, transparent); border-radius: 20px; padding: 1px 7px; margin-left: 6px; }
.att-off { text-align: center; color: var(--line-strong); }
.att-grid th, .att-grid td { text-align: center; padding: 3px 4px; }
.att-grid th.l, .att-grid td.l { text-align: left; white-space: nowrap; }
.att-seg.sm { width: 22px; height: 22px; font-size: 11px; padding: 0; }
/* weekday headers, weekend + holiday shading, Sick status, holiday banner */
.att-dhead { line-height: 1.05; }
.att-dw { display: block; font-size: 9px; font-weight: 700; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .02em; }
.att-dn { display: block; font-size: 12px; font-weight: 700; }
.att-grid th.att-wknd, .att-grid td.att-wknd { background: color-mix(in srgb, var(--ink) 7%, transparent); }
.att-grid th.att-hol, .att-grid td.att-hol { background: color-mix(in srgb, #8b5cf6 15%, transparent); }
.att-grid td.att-hol { color: #7c3aed; font-weight: 800; font-size: 10px; }
.att-grid th.att-hol .att-dw, .att-grid th.att-hol .att-dn { color: #7c3aed; }
.att-seg.on.S { background: #8b5cf6; color: var(--on-fill); border-color: #8b5cf6; }
.att-holbar { margin: 0 0 12px; padding: 10px 14px; border-radius: 10px; background: color-mix(in srgb, #8b5cf6 12%, var(--panel)); border: 1px solid color-mix(in srgb, #8b5cf6 40%, var(--line)); color: var(--ink); font-size: 13px; }
/* voice roll-call panel */
.att-vc { max-width: 460px; margin: 0 auto; text-align: center; }
.att-vc-prog { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink-soft); font-size: 13px; margin-bottom: 14px; }
.att-vc-track { flex: 1; height: 6px; background: var(--panel-2); border-radius: 999px; overflow: hidden; }
.att-vc-fill { display: block; height: 100%; background: var(--brand); transition: width .2s ease; }
.att-vc-name { margin: 6px 0 14px; }
.att-vc-name b { display: block; font-size: clamp(22px, 5vw, 30px); font-weight: 800; letter-spacing: -.02em; }
.att-vc-roll { display: inline-block; font-size: 12px; font-weight: 700; color: var(--ink-soft); background: var(--panel-2); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; margin-bottom: 8px; }
.att-vc-cur { display: inline-block; margin-top: 8px; font-size: 12px; font-weight: 800; padding: 3px 10px; border-radius: 999px; }
.att-vc-cur.c-P { background: color-mix(in srgb, var(--good) 16%, transparent); color: var(--good); }
.att-vc-cur.c-A { background: color-mix(in srgb, var(--bad) 16%, transparent); color: var(--bad); }
.att-vc-cur.c-L { background: color-mix(in srgb, var(--warn) 16%, transparent); color: var(--warn); }
.att-vc-cur.c-S { background: color-mix(in srgb, #8b5cf6 16%, transparent); color: #7c3aed; }
.att-vc-status { min-height: 42px; display: flex; align-items: center; justify-content: center; padding: 10px; border-radius: 10px; background: var(--panel-2); border: 1px solid var(--line); font-size: 13px; margin-bottom: 14px; }
.att-vc-live b { color: var(--brand); }
.att-vc-marks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 12px; }
.att-vc-b { border: 0; padding: 14px 4px; border-radius: 12px; font-weight: 800; font-size: 13px; cursor: pointer; color: var(--on-fill); }
.att-vc-b.b-P { background: var(--good); }
.att-vc-b.b-A { background: var(--bad); }
.att-vc-b.b-L { background: var(--warn); }
.att-vc-b.b-S { background: #8b5cf6; }
.att-vc-b:active { transform: scale(.96); }
.att-vc-nav { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; }
.att-vc-ann { display: inline-flex; align-items: center; gap: 5px; color: var(--ink-soft); cursor: pointer; }
.att-vc-done { padding: 24px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.att-vc-done b { font-size: 17px; }
