/* Staff Home: "what needs me now". Flat sections on the page background, rows split by
   hairlines, one strong weight (700) for names and numbers, regular weight for everything else. */
.staff-home{--home-ink:#182230;--home-muted:#5b6678;--home-line:#e2e7ee;--home-accent:#6d43dd;--home-accent-dark:#5631c4;--home-ok:#15803d;
  display:grid;grid-template-columns:minmax(0,3fr) minmax(0,2fr);column-gap:56px;max-width:1180px;color:var(--home-ink)}
.staff-home>section{min-width:0}
.home-waiting,.home-today{grid-column:1/-1}
.staff-home h2{margin:0;font-size:17px;font-weight:700;letter-spacing:-.01em;line-height:1.3}
.home-head{display:flex;align-items:baseline;gap:10px}
.home-total{font-size:15px;font-weight:700;color:var(--home-accent);font-variant-numeric:tabular-nums}
.home-help{margin:2px 0 0;font-size:13px;color:var(--home-muted)}
.home-block{padding-bottom:36px}
.home-list{list-style:none;margin:14px 0 0;padding:0;border-top:1px solid var(--home-line)}
.home-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;column-gap:20px;padding:15px 0;border-bottom:1px solid var(--home-line)}
.home-who{min-width:0}
.home-who strong{display:block;font-size:16px;font-weight:700;line-height:1.3;overflow-wrap:anywhere}
.home-who p{margin:3px 0 0;font-size:13px;line-height:1.45;color:var(--home-muted);overflow-wrap:anywhere}
.home-sep{color:#a0a9b8}
.home-today .home-sep{font-size:18px;line-height:1}
.home-call .home-status{color:var(--home-accent);font-weight:700}
.home-reply .home-status{color:#9a3412}
.home-wait{font-size:15px;font-weight:700;font-variant-numeric:tabular-nums;color:var(--home-ink);white-space:nowrap;text-align:right;min-width:56px}
.home-wait:empty{display:none}
.home-answer,.home-action{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 22px;border-radius:8px;
  border:1px solid var(--home-accent);background:var(--home-accent);color:#fff;font:inherit;font-size:15px;font-weight:600;text-decoration:none;cursor:pointer;white-space:nowrap}
.home-answer{min-width:112px;min-height:48px;font-size:16px}
.home-action{background:#fff;color:var(--home-accent);min-width:112px}
.home-answer.quiet,.home-action.quiet{background:#fff;color:var(--home-ink);border-color:#c9d1dc}
.home-answer:hover{background:var(--home-accent-dark);border-color:var(--home-accent-dark)}
.home-action:hover{background:#f3effd}
.home-answer.quiet:hover,.home-action.quiet:hover{background:#f4f6f9}
.home-answer:focus-visible,.home-action:focus-visible,.home-count:focus-visible,.home-more:focus-visible{outline:3px solid #f59e0b;outline-offset:2px}
.home-clear{display:flex;align-items:center;gap:12px;margin:14px 0 0;padding:22px 0;border-top:1px solid var(--home-line);border-bottom:1px solid var(--home-line);font-size:15px;color:var(--home-muted)}
.home-clear strong{display:block;color:var(--home-ink);font-size:16px;font-weight:700}
.home-tick{flex:0 0 auto}
.home-tick circle{fill:var(--home-ok)}
.home-tick path{fill:none;stroke:#fff;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.home-none{margin:14px 0 0;padding:16px 0;border-top:1px solid var(--home-line);border-bottom:1px solid var(--home-line);font-size:14px;color:var(--home-muted)}
.home-more{display:inline-flex;align-items:center;min-height:44px;margin-top:10px;padding:0;border:0;background:none;color:var(--home-accent);font:inherit;font-size:14px;font-weight:600;cursor:pointer}
.home-more:hover{text-decoration:underline}
.home-today{display:flex;align-items:baseline;flex-wrap:wrap;gap:6px 22px;margin:0 0 40px;padding:12px 0 14px;border-bottom:1px solid var(--home-line)}
.home-today h2{font-size:13px;font-weight:400;color:var(--home-muted);letter-spacing:0}
.home-today p{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 10px;margin:0}
.home-count{display:inline-flex;align-items:baseline;gap:6px;min-height:44px;padding:0 2px;border:0;background:none;color:var(--home-ink);font:inherit;font-size:15px;cursor:pointer}
.home-count strong{font-size:22px;font-weight:700;font-variant-numeric:tabular-nums;line-height:1}
.home-count:hover{color:var(--home-accent)}
.home-count:hover strong{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:4px}
.home-question .home-who strong{font-weight:700}
.home-questions .home-row{grid-template-columns:minmax(0,1fr) auto}
.home-waiting .home-list{margin-top:14px}
.home-waiting{padding-bottom:0}
.home-waiting .home-more{margin:6px 0 4px}
@media(max-width:1100px){.staff-home{grid-template-columns:minmax(0,1fr)}}
@media(max-width:640px){
  .home-block{padding-bottom:30px}
  .home-row{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"who action" "wait action";row-gap:4px;column-gap:14px;padding:14px 0}
  .home-who{grid-area:who}
  .home-wait{grid-area:wait;text-align:left;font-size:14px;min-width:0}
  .home-row>.home-answer,.home-row>.home-action{grid-area:action}
  .home-answer{min-width:96px;padding:0 18px}
  .home-action{min-width:0;padding:0 16px}
  .home-questions .home-row{grid-template-areas:"who" "action";grid-template-columns:minmax(0,1fr);row-gap:10px}
  .home-questions .home-action{justify-self:start}
  .home-today{gap:2px 14px;margin-bottom:32px;padding:10px 0 8px}
  .home-today h2{flex:1 0 100%;padding-top:4px}
  .home-count{font-size:14px;gap:5px}
  .home-count strong{font-size:20px}
}
@media(prefers-reduced-motion:reduce){.staff-home *{transition:none!important;animation:none!important}}
