/* Shared Admin / Accounts task hub. Brand tokens come from the global theme. */
.shared-home > .heading { min-height:150px; margin-bottom:24px; }
.daily-hub { margin-bottom:24px; }
.hub-heading, .hub-queue-heading { display:flex; justify-content:space-between; align-items:flex-start; gap:20px; }
.hub-heading h2 { font:600 30px/1.15 var(--ozzy-heading-font); margin:0 0 9px; }
.hub-heading p, .hub-queue-heading p { font-size:12px; color:var(--muted); line-height:1.7; margin:6px 0 0; }
.hub-heading > .btn { flex-shrink:0; }
.hub-totals { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin:22px 0; }
.hub-totals > div { background:white; border:1px solid var(--line); border-radius:var(--ozzy-panel-radius); padding:18px 20px; min-width:0; }
.hub-totals small { display:block; font-size:11px; color:var(--muted); }
.hub-totals strong { display:block; font:600 30px var(--ozzy-heading-font); margin-top:10px; }
.hub-areas { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; margin:20px 0; }
.hub-area { display:grid; grid-template-columns:1fr auto; gap:8px 12px; align-content:start; text-align:left; background:white; border:1px solid var(--line); border-radius:var(--ozzy-panel-radius); padding:16px; min-width:0; min-height:105px; }
.hub-area > span { font-size:13px; font-weight:650; line-height:1.4; }
.hub-area > strong { font:600 26px var(--ozzy-heading-font); }
.hub-area > small { grid-column:1/-1; color:var(--muted); font-size:10px; line-height:1.6; }
.hub-area.active { border-color:var(--red); box-shadow:inset 0 3px var(--red); }
.hub-area:focus-visible { outline:3px solid var(--red); outline-offset:3px; }
.hub-queue { padding:24px; }
.hub-queue-heading h3 { font:600 25px var(--ozzy-heading-font); margin:0; }
.hub-queue-heading > .btn { flex-shrink:0; }
.hub-period { margin:20px 0; flex-wrap:wrap; }
.hub-review { display:flex; justify-content:space-between; align-items:center; gap:20px; background:var(--ozzy-soft); border-left:3px solid var(--ozzy-grey); padding:18px; margin:18px 0; }
.hub-review strong { font-size:13px; }
.hub-review p { color:var(--muted); font-size:12px; line-height:1.7; margin:6px 0 0; }
.hub-review > .btn { flex-shrink:0; }
.hub-review.is-checked { border-left-color:var(--ozzy-green); }
.hub-queue .daily-task { margin:0; padding:18px 0; border:0; border-top:1px solid var(--line); border-radius:0; background:none; }
.hub-queue .daily-task.is-overdue { border-left:3px solid var(--red); padding-left:14px; }
.hub-queue .daily-task h3 { font-size:19px; }
.hub-queue .daily-task small { font-size:10px; line-height:1.8; }
.hub-queue-footer { display:flex; gap:12px; flex-wrap:wrap; justify-content:space-between; margin-top:18px; }
.hub-note, .hub-source-status { font-size:11px; line-height:1.8; color:var(--muted); margin:18px 0 0; }
.hub-source-status { background:var(--ozzy-soft); padding:14px; }
.hub-empty { color:var(--muted); padding:18px 0; font-size:13px; line-height:1.7; }
.hub-check-history { margin:16px 0; border:1px solid var(--line); border-radius:var(--ozzy-panel-radius); background:white; padding:0 20px; }
.hub-check-history > summary { cursor:pointer; padding:18px 0; font-size:13px; font-weight:650; }
.hub-check-history > div { display:flex; align-items:center; gap:12px; flex-wrap:wrap; border-top:1px solid var(--line); padding:12px 0; font-size:12px; }
.hub-check-history > div > span { flex:1; min-width:130px; }
.hub-check-history small { color:var(--muted); }
.hub-shortcuts { display:flex; flex-wrap:wrap; gap:12px; }
.shared-home .home-metrics { grid-template-columns:repeat(2,minmax(0,1fr)); margin-bottom:0; }
.daily-assignee { display:flex; flex-wrap:wrap; gap:14px; }
@media(max-width:1000px) { .hub-areas { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:760px) {
 .hub-heading { flex-wrap:wrap; gap:12px; }
 .hub-heading h2 { font-size:28px; }
 .hub-totals { gap:8px; }
 .hub-totals > div { padding:14px 10px; }
 .hub-totals small { font-size:10px; line-height:1.6; }
 .hub-totals strong { font-size:25px; }
 .hub-area { padding:14px 12px; gap:8px; }
 .hub-area > span { font-size:12px; }
 .hub-area > strong { font-size:23px; }
 .hub-queue { padding:18px; }
 .hub-review, .hub-queue-heading { flex-direction:column; gap:12px; align-items:stretch; }
 .hub-queue .daily-task { flex-wrap:wrap; gap:12px; }
 .hub-queue .daily-task-actions { margin-left:auto; }
 .hub-check-history { padding:0 16px; }
 .shared-home .home-metrics { grid-template-columns:1fr; }
 .hub-period .filter, .hub-review .btn, .hub-heading > .btn { min-height:44px; }
}
@media print { .daily-hub button, .hub-queue-footer { display:none; } }
/* The hub supplies its own direct actions; avoid a second floating shortcut menu on Home. */
#app:has(.shared-home) .onyx-quick-menu { display:none; }
.hub-back { margin-top:14px; }
/* The old Home badge counted only department requests; the hub now shows all queue totals. */
.side:has(~ .shell .shared-home) .admin-nav-badge { display:none; }
