/* Scoped task summary and support waiting badges; existing brand tokens apply. */
.admin-attention { min-width:0; margin:0 0 18px; }
.attention-heading { display:flex; align-items:center; justify-content:space-between; gap:14px; margin-bottom:10px; }
.attention-heading h2 { color:var(--text); font-size:16px; font-weight:650; line-height:1.4; }
.attention-heading p { margin-top:3px; color:var(--muted); font-size:11px; line-height:1.5; }
.attention-refresh { flex:none; }
.attention-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.attention-card { min-width:0; padding:14px; border:1px solid var(--line); border-radius:var(--radius); background:var(--card); }
.attention-card-heading { display:flex; align-items:center; justify-content:space-between; gap:8px; margin-bottom:10px; }
.attention-card h3 { color:var(--text); font-size:12px; font-weight:650; line-height:1.5; }
.attention-source { color:var(--muted); font-size:9px; line-height:1.5; text-align:right; }
.attention-source.unknown { color:var(--warning); }
.attention-row { display:flex; align-items:center; gap:9px; width:100%; min-height:44px; padding:9px 10px; border:1px solid transparent; border-radius:8px; background:transparent; color:var(--text); text-align:left; }
.attention-row:hover,.attention-oldest:hover { border-color:var(--line); background:var(--surface-raised); }
.attention-row-label { flex:1; min-width:0; font-size:11px; line-height:1.5; overflow-wrap:anywhere; }
.attention-count { flex:none; font-size:18px; font-weight:650; line-height:1.2; font-variant-numeric:tabular-nums; }
.attention-important .attention-count { color:var(--danger); }
.attention-warning .attention-count { color:var(--warning); }
.attention-arrow { flex:none; color:var(--muted); font-size:15px; }
.attention-note { margin:8px 0 0; color:var(--muted); font-size:10px; line-height:1.6; overflow-wrap:anywhere; }
.attention-support-breakdown { display:flex; flex-wrap:wrap; gap:4px 14px; padding:4px 10px; color:var(--muted); font-size:10px; line-height:1.6; }
.attention-oldest { display:flex; align-items:center; gap:8px; width:100%; min-height:44px; margin-top:5px; padding:9px 10px; border:1px solid var(--line); border-radius:8px; background:var(--surface-input); color:var(--text); text-align:left; }
.attention-oldest>span:first-child { flex:1; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:11px; }
.attention-oldest strong { flex:none; color:var(--warning); font-size:11px; font-weight:600; }
.ticket-wait { display:inline-block; margin-left:auto; color:var(--warning); font-size:10px; font-weight:550; line-height:1.5; }
.ticket-wait--neutral { color:var(--muted); }
.ticket-row .row-bottom { flex-wrap:wrap; justify-content:flex-start; }
.ticket-row .ticket-wait { min-width:0; overflow-wrap:anywhere; }
@media (max-width:1100px) and (min-width:851px) {
 .attention-card { padding:12px 10px; }
 .attention-card-heading { flex-wrap:wrap; }
 .attention-source { text-align:left; }
}
@media (max-width:850px) {
 #tickets-view .desk { grid-template-columns:minmax(0,1fr); }
 #tickets-view .inbox,#tickets-view .inbox-tools,#tickets-view .ticket-list { min-width:0; }
 .attention-grid { grid-template-columns:minmax(0,1fr); gap:10px; }
 .attention-heading { align-items:flex-start; }
 .attention-heading h2 { font-size:17px; }
 .attention-heading p { max-width:220px; font-size:12px; }
 .attention-card { padding:14px; }
 .attention-card h3 { font-size:14px; }
 .attention-source { font-size:10px; }
 .attention-row-label,.attention-oldest>span:first-child { font-size:13px; }
 .attention-count { font-size:20px; }
 .attention-note,.attention-support-breakdown,.attention-oldest strong { font-size:11px; }
 .ticket-wait { font-size:11px; }
 .ticket-row .row-bottom { gap:6px 10px; }
}
@media (max-width:360px) {
 .attention-card { padding:12px 10px; }
 .attention-card-heading { align-items:flex-start; }
 .attention-source { max-width:92px; }
 .attention-oldest { flex-wrap:wrap; }
 .attention-oldest>span:first-child { flex-basis:100%; }
 .attention-oldest .attention-arrow { margin-left:auto; }
}
