/* Appleclassroom teacher desk: coral for navigation, lemon for calls, lilac for records. */
.teacher {
 --ink:#302c35; --raspberry:#a6354c; --title:#322831; --muted:#635c63;
 --edge:#e3dee1; --amber:#ffd069;  --paper:#fff;
 color:var(--ink);background:#faf8f6;
}
.teacher :is(button,a.btn,select):focus-visible{outline:3px solid #8444a5;outline-offset:3px}
.teacher .staff-glyph{display:inline-block;width:17px;height:17px;flex:none;vertical-align:middle}
.teacher .head strong{color:var(--title);letter-spacing:-.045em}
.teacher .desk-tools{background:white;border:1px solid var(--edge);border-radius:12px;padding:9px 12px;gap:7px 14px;box-shadow:0 2px 5px #39243a06;margin:4px 0 13px}
.teacher .desk-tools .spread{gap:9px 16px}
.staff-title,.staff-utils,.staff-tabs{display:flex;align-items:center}
.staff-title{gap:8px}.staff-title>span{display:grid;place-items:center;width:29px;height:29px;border-radius:8px;background:#ffded9;color:var(--raspberry)}
.teacher .desk-tools h1{color:var(--title);font-size:19px;font-weight:800}
.teacher .desk-tools label{color:var(--muted);font-weight:700}
.teacher .desk-tools select{font-size:13px;color:var(--ink);background:#fefdfc}
.teacher .desk-tools .filters,.staff-utils{gap:6px}.staff-utils{flex-wrap:wrap}
.staff-tabs{background:#f6efef;padding:2px;border-radius:8px;gap:2px}
.teacher .staff-tabs button{border:1px solid transparent;background:transparent;color:#54494f;font-size:13px;min-height:30px}
.teacher .staff-tabs button[aria-pressed=true]{color:#551f29;background:#ff9b91;box-shadow:0 1px 3px #50213722}
.teacher .staff-utils button{display:inline-flex;align-items:center;gap:5px;padding:5px 9px;border-color:var(--edge);color:#514851;font-size:13px;background:#fff;min-height:32px}
.teacher .staff-utils button[data-do=consult]{color:#603b81;background:#f2e8ff;border-color:#ddc7ef}
.teacher .staff-utils button:hover,.teacher .staff-tabs button:not([aria-pressed=true]):hover{background:#f6eaea}
.teacher .ac-overview{margin:15px 0 9px;align-items:center}
.teacher .ac-overview>div:first-child{border-left:4px solid #ff766c;padding-left:10px;min-width:0}
.teacher #dash .ac-overview h2{color:#382935;font-weight:800;font-size:clamp(18px,1.65vw,22px);line-height:1.32}
.teacher .ac-overview>div:first-child small{font-size:12px;font-weight:650;color:#685e65;font-variant-numeric:tabular-nums}
.teacher .ac-summary{gap:5px 6px;margin-bottom:12px}
.staff-state,.ac-person{--st-bg:#f0edef;--st-fg:#564d56;--st-accent:#948991}
.s-focus,.s-extra{--st-bg:#e0f6e9;--st-fg:#236644;--st-accent:#43a477}
.s-note{--st-bg:#fff0bd;--st-fg:#684600;--st-accent:#c6911a}
.s-paused{--st-bg:#ffe8d6;--st-fg:#834513;--st-accent:#dc894c}
.s-plan{--st-bg:#f0e7fc;--st-fg:#654184;--st-accent:#a37aca}
.s-done{--st-bg:#ffe6ed;--st-fg:#883654;--st-accent:#d06f8f}
.s-closed,.s-absent{--st-bg:#f0eef1;--st-fg:#58515c;--st-accent:#a198a2}
.teacher .staff-state,.teacher .ac-person .ac-tag{display:inline-flex;align-items:center;gap:4px;background:var(--st-bg);color:var(--st-fg);font-weight:700;line-height:1.45;font-size:12px;padding:3px 8px;border-radius:6px}
.teacher .staff-state b{font-variant-numeric:tabular-nums}
.teacher .ac-person{border-radius:12px;border-color:var(--edge);box-shadow:0 2px 5px #3c263908;padding:12px;overflow-wrap:anywhere}
.teacher .ac-person.called{border-color:#e1bd59}
.teacher .ac-person-head{border-bottom:1px solid #eee9ec;padding-bottom:7px}
.teacher #dash .ac-person-head h3{font-size:18px;font-weight:800;color:var(--ink);letter-spacing:-.04em}
.teacher .ac-person .ac-tag{border-radius:20px}.teacher .ac-person .ac-tag:before{content:'';width:6px;height:6px;background:var(--st-fg);border-radius:100%}
.teacher .ac-main-activity{margin:8px 0 2px}.teacher .ac-main-activity strong{color:var(--title);letter-spacing:-.04em}
.teacher .ac-main-activity small,.teacher .ac-time small,.teacher .ac-follow,.teacher .ac-muted{color:var(--muted)}
.teacher .ac-main-activity small,.teacher .ac-time small{font-size:12px;font-weight:650}
.teacher .ac-time{gap:5px}.teacher .ac-time b{font-size:21px;font-weight:780;line-height:1.25;color:#39313b}.teacher .ac-time>span{font-size:12px}
.teacher .ac-strip{margin-top:7px}.teacher .ac-strip .ok{background:#a878bd}.teacher .ac-strip .current{background:var(--st-accent)}
.teacher .ac-question{margin:7px 0 0;align-self:flex-start;display:inline-flex;align-items:center;gap:4px;background:#fff0bc;color:#704b05;border-radius:5px;padding:2px 6px;font-size:12px}
.teacher .ac-question svg{width:13px;height:13px}
.teacher .ac-person footer{gap:4px;align-content:end;padding-top:9px}
.teacher .ac-person footer button{min-height:29px;font-weight:700;padding:3px 7px;background:#f6f4f5;color:#564f58;border-color:#e0dbe0;border-radius:6px}
.teacher .ac-person footer button[data-do^="expand:"],.teacher .ac-person footer button[data-do^="consult:"]{background:#f4edfc;color:#633d80;border-color:#decde9}
.teacher .ac-person footer .ac-end{background:#fff0f0;color:#953045;border-color:#e7bcc5}
.teacher .ac-person footer button:hover,.teacher .staff-utils button:hover{border-color:currentColor}
.teacher .ac-bulk-end{background:#fff8f8;border-color:#d98a9b;color:#922e46}
.teacher .ac-bulk-end:hover:not(:disabled){color:#79233a;background:#ffe8ec}
.teacher .ac-strip i{background:#ede8ed}
.teacher .ac-time span:not([data-live]),.teacher .ac-bulk-action small{color:var(--muted)}
.teacher .ac-layout{grid-template-columns:minmax(0,1fr) clamp(222px,23%,270px);gap:12px}
.teacher .ac-layout.history{grid-template-columns:minmax(0,1fr)}
.teacher .ac-queue{padding:0;border:1px solid #e0c37b;border-radius:13px;box-shadow:0 3px 10px #66470e0a;overflow-wrap:anywhere;min-width:0}
.staff-q-head{border-radius:12px 12px 0 0;background:#ffdf81;color:#4a340a;padding:12px;display:grid;align-items:center;grid-template-columns:33px minmax(0,1fr) auto;gap:8px}
.teacher #dash .staff-q-head h3{color:#4a340a;font-size:19px;line-height:1.25;letter-spacing:-.04em;font-weight:800}
.teacher .staff-q-head small{display:block;color:#685017;font-size:12px;font-weight:600;line-height:1.3}
.staff-q-icon{display:grid;place-items:center;width:32px;height:32px;border-radius:9px;color:#65450b;background:#ffce50}
.teacher .staff-q-icon svg{width:19px;height:19px}
.staff-q-count{border-radius:20px;padding:3px 8px;color:#644312;background:#fff7d8;font-size:13px;font-weight:800}
.teacher .ac-queue :is(ol,li){margin:0;list-style:none}
.teacher .ac-queue .staff-q-current{display:block;padding:10px}
.teacher .ac-queue li.staff-first{display:grid;gap:5px;padding:10px 11px 11px;border:1px solid #eed48b;border-radius:9px;background:#fff9e8}
.teacher .ac-queue li.staff-first.is-serving{background:#f5eefb;border-color:#dcc5ec}
.staff-turn{width:fit-content;line-height:1.5;color:#775113;font-size:12px}.staff-first.is-serving .staff-turn{color:#674083}
.staff-q-person{display:flex;align-items:center;gap:9px;min-width:0}
.staff-q-copy{min-width:0;display:flex;align-items:baseline;gap:2px 6px;flex-wrap:wrap}.staff-q-copy b{font-size:16px;letter-spacing:-.04em}
.teacher .staff-q-copy small{font-size:12px;color:#645b60}
.teacher .staff-first .staff-q-copy b{font-size:20px;color:#362b31}
.teacher .staff-first .ac-num{font-size:16px;background:#ffe7a1;color:#63430c}
.teacher .staff-first.is-serving .ac-num{background:#e7d5f5;color:#583670}
.teacher .ac-queue .ac-num{display:grid;place-items:center;min-width:30px;min-height:30px;border-radius:8px;padding:3px 5px;font-variant-numeric:tabular-nums;line-height:1.1;font-weight:800}
.staff-q-reason{font-size:14px;color:#484049;font-weight:650}
.teacher .staff-first .staff-q-reason{margin-left:39px}
.teacher .ac-queue .ac-q-action{display:flex;align-items:center;justify-content:center;gap:6px;min-height:34px;margin-top:2px;background:var(--amber);border-color:var(--amber);color:#50340c;font-size:14px;line-height:1.4;font-weight:750;border-radius:7px}
.teacher .is-serving .ac-q-action{color:white;background:#73508b;border-color:#73508b}
.teacher .ac-q-action:hover{filter:brightness(.91)}
.staff-wait-title{margin:0 12px;padding:1px 0 5px;border-bottom:1px solid #eae4df;color:#5c5159;font-size:12px;font-weight:750}.staff-wait-title span{color:#74460d}
.teacher .ac-queue .staff-q-wait{display:block;padding:0 12px 4px}
.teacher .ac-queue li.staff-wait{display:block;border:0;border-bottom:1px solid #ede7e7;padding:7px 0}.teacher .ac-queue li.staff-wait:last-child{border:0}
.teacher .staff-wait .ac-num{min-width:24px;min-height:24px;border-radius:6px;background:#f4f0ef;color:#59515a;font-size:12px}
.staff-wait .staff-q-person{gap:7px}.staff-wait .staff-q-reason{margin-left:31px;font-size:13px;color:#645d63;font-weight:550}
.teacher .ac-queue.is-quiet{border-color:#e0dbe2;box-shadow:none}
.is-quiet .staff-q-head{background:#f5f2f6;color:#534954}.teacher #dash .is-quiet .staff-q-head h3,.teacher .is-quiet .staff-q-head small{color:#5a505d}.is-quiet .staff-q-icon,.is-quiet .staff-q-count{color:#63596b;background:#ebe6ed}
.staff-q-empty{display:flex;align-items:center;gap:6px;padding:12px;color:var(--muted);font-size:13px}
@media(max-width:1050px) and (min-width:821px){.teacher .ac-layout:not(.history) .ac-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:820px){.teacher .ac-layout{grid-template-columns:minmax(0,1fr)}.teacher .ac-queue{position:static}.staff-q-head{padding:8px 11px}.teacher .ac-queue .staff-q-wait{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 14px}.teacher .ac-queue li.staff-first{grid-template-columns:minmax(0,1fr) auto;column-gap:10px}.staff-first .staff-turn,.staff-first .staff-q-person,.teacher .staff-first .staff-q-reason{grid-column:1}.teacher .staff-first .ac-q-action{grid-column:2;grid-row:1 / span 3;align-self:center;padding-inline:12px}.teacher .desk-tools .filters{gap:5px}.teacher .staff-utils{gap:4px}}
@media(max-width:500px){.teacher .desk-tools{padding:8px}.teacher .desk-tools .spread{gap:6px}.teacher .desk-tools .filters{display:flex;align-items:center;flex-wrap:wrap}.teacher .staff-utils button{font-size:12px;padding-inline:6px}.teacher .staff-utils .staff-glyph{width:14px;height:14px}.teacher .staff-q-wait .staff-q-copy{display:block}.teacher .staff-q-wait .staff-q-copy small{display:block}.teacher .staff-q-wait .staff-q-person{align-items:flex-start}}
@media(forced-colors:active){.teacher .staff-tabs [aria-pressed=true],.teacher .staff-turn,.teacher .ac-tag{outline:1px solid currentColor}.teacher .ac-strip i{outline:1px solid currentColor}}
