/* 5.9.1 UI polish; keep API identity 5.9.0-rc.1. */
.desk-shell .desk-table .sla-overdue {color:var(--danger);font-weight:700}
html[data-theme="dark"] .desk-shell .desk-table .sla-overdue {color:var(--red-500)}
/* Five filters form balanced 3+2 rows, preserving keyboard order. */
.chat-workspace .chat-tabs {display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:4px}
.chat-workspace .chat-tabs button {grid-column:span 2;min-width:0;white-space:normal;font-size:12px;padding:7px 6px;line-height:1.3}
.chat-workspace .chat-tabs button:nth-child(n+4) {grid-column:span 3}
/* Compact preference only; normal density continues to favor reading. */
html[data-density="compact"] .desk-shell .desk-table td {padding-top:7px;padding-bottom:7px;font-size:12px}
html[data-density="compact"] .desk-shell .desk-table td:first-child>span {font-size:13px;margin:2px 0;line-height:1.3}
html[data-density="compact"] .desk-shell .desk-table td:first-child>small {font-size:11px;line-height:1.35}
html[data-density="compact"] .desk-shell .desk-table td:first-child>input {top:13px}
html[data-density="compact"] .desk-shell .desk-request-link {font-size:11px;min-height:24px;padding:0;line-height:1.35}
html[data-density="compact"] .desk-shell .desk-status {font-size:10px;padding:4px 7px}
@media(max-width:600px) {
 html[data-density="compact"] .desk-shell .desk-request-link {min-height:44px;font-size:12px}
 html[data-density="compact"] .desk-shell .desk-table td {padding-top:10px;padding-bottom:10px;font-size:13px}
 html[data-density="compact"] .desk-shell .desk-table td:first-child>input {top:16px}
}
