/* XtremeX Billing R6.6.90-C23: monitoring accuracy and filter UX only.
 * NO changes to compact table/RX/TX columns, billing, accounts or device writes.
 */
#online-monitor-root #xtmon-c23-refresh-state {
  order:5;display:inline-flex;align-items:center;max-width:100%;white-space:nowrap;
  font-size:10px;font-weight:650;line-height:1.25;color:var(--text-muted,#66768b);
  border-radius:7px;padding:4px 7px;border:1px solid transparent;
}
#online-monitor-root #xtmon-c23-refresh-state[data-state="stale"],
#online-monitor-root #xtmon-c23-refresh-state[data-state="error"]{
  color:#9a5908;background:#fff7e8;border-color:#f3ce88;
}
body.dark-mode #online-monitor-root #xtmon-c23-refresh-state[data-state="stale"],
body.dark-mode #online-monitor-root #xtmon-c23-refresh-state[data-state="error"]{
  color:#ffd491;background:rgba(174,103,15,.2);border-color:rgba(251,196,107,.45);
}
#online-monitor-root .reference-table-toolbar .xtmon-c23-clear {
  width:auto!important;min-width:38px!important;white-space:nowrap!important;
  padding:4px 9px!important;font-size:10.5px!important;
}
@media(max-width:900px){
  #online-monitor-root #xtmon-c23-refresh-state{font-size:10px;white-space:normal;}
  #online-monitor-root .reference-table-toolbar .xtmon-c23-clear{
    min-height:38px!important;min-width:46px!important;padding:7px 9px!important;
  }
}
@media(prefers-reduced-motion:reduce){
  #online-monitor-root #xtmon-c23-refresh-state,#online-monitor-root .xtmon-c23-clear{transition:none!important;}
}
