.status-pill.queued { background: #eef0f5; color: #656b79; }
.status-pill.processing { background: #e9efff; color: #3659a8; }
.sort-link.selected { color: var(--ink); }
.selected-row td { background: #f0fbf6 !important; }
.selection-actions { display: flex; align-items: center; gap: 9px; margin: 0 0 12px; }
.secondary-button { border: 1px solid var(--line); border-radius: 9px; padding: 10px 13px; background: #fff; color: var(--ink); font-weight: 700; cursor: pointer; }
.activity-summary, .threshold-preview { display: flex; flex-direction: column; gap: 13px; }
.activity-summary > div, .threshold-preview > div { display: grid; grid-template-columns: 12px 1fr auto; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.activity-summary b, .threshold-preview div { font-size: 11px; }
.activity-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.activity-dot.not_using { background: #a7adb5; }
.activity-dot.no_messages { background: #f2c94c; }
.activity-dot.low { background: #7bc8a4; }
.activity-dot.medium { background: #22a06b; }
.activity-dot.high { background: #126b4a; }
.upload-panel { margin-bottom: 14px; }
.upload-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 14px; align-items: stretch; }
.file-drop { border: 1px dashed #cdd1db; border-radius: 11px; padding: 16px; display: flex; flex-direction: column; gap: 7px; background: #fafbfc; }
.file-drop > span { font-weight: 800; }
.file-drop small { color: var(--muted); }
.file-drop input { font-size: 11px; }
.settings-form { display: flex; flex-direction: column; gap: 15px; }
.settings-form label { display: flex; flex-direction: column; gap: 7px; font-size: 11px; font-weight: 700; }
.settings-form input { border: 1px solid var(--line); border-radius: 9px; padding: 11px 13px; }
.activity-badge { display: inline-flex; padding: 5px 8px; border-radius: 999px; font-size: 9px; font-weight: 800; }
.activity-badge.not_using { background: #eef0f2; color: #69707a; }
.activity-badge.no_messages { background: #fff6cf; color: #765f00; }
.activity-badge.low { background: #e7f6ef; color: #27795a; }
.activity-badge.medium { background: #d9f3e8; color: #176d4d; }
.activity-badge.high { background: #ccebdd; color: #0c593e; }
.pagination { display: flex; gap: 7px; justify-content: center; margin-top: 14px; }
.pagination a { padding: 8px 11px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.pagination a.active { background: var(--ink); color: #fff; }
.table-scroll input[type="checkbox"] { accent-color: #22a06b; }
.filter-head { display: flex; align-items: center; justify-content: space-between; gap: 7px; }
.column-filter { position: relative; }
.column-filter summary { list-style: none; width: 22px; height: 22px; border: 1px solid #d9dce4; border-radius: 5px; display: grid; place-items: center; background: #fff; color: #717784; cursor: pointer; font-size: 13px; }
.column-filter summary::-webkit-details-marker { display: none; }
.column-filter.active summary, .column-filter[open] summary { color: #fff; background: #22a06b; border-color: #22a06b; }
.filter-menu { position: absolute; z-index: 30; top: 28px; right: 0; width: 220px; padding: 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; box-shadow: 0 14px 40px rgba(29,33,48,.16); display: flex; flex-direction: column; gap: 10px; text-transform: none; letter-spacing: 0; color: var(--ink); }
.filter-menu label { display: flex; flex-direction: column; gap: 5px; font-size: 10px; color: var(--muted); }
.filter-menu input { width: 100%; border: 1px solid var(--line); border-radius: 7px; padding: 8px 9px; outline: none; }
.filter-apply { border: 0; border-radius: 7px; padding: 9px 11px; background: var(--ink); color: #fff; font-weight: 700; cursor: pointer; }
@media (max-width: 760px) {
  .upload-form { grid-template-columns: 1fr; }
  .selection-actions { align-items: stretch; flex-direction: column; }
}
