.inbox-bulk-actions { display: grid; gap: 7px; margin: 0 16px 12px; padding: 10px; border: 1px solid var(--border); border-radius: 8px; font-size: 12px; }
.inbox-bulk-actions > p { color: var(--muted); }
.inbox-bulk-actions .inbox-bulk-result { color: var(--ink); overflow-wrap: anywhere; }
.inbox-bulk-buttons { display: flex; flex-wrap: wrap; gap: 5px; }
.inbox-bulk-buttons .btn { min-height: 34px; padding: 6px 9px; font-size: 11px; }
.inbox-bulk-entry { display: flex; align-items: center; border-bottom: 1px solid var(--border); }
.inbox-bulk-entry .conversation-row { min-width: 0; border-bottom: 0; }
.inbox-bulk-entry.is-trash .conversation-row:disabled { opacity: 1; background: transparent; }
.inbox-bulk-entry > input { margin: 0 0 0 13px; width: 17px; height: 17px; flex-shrink: 0; accent-color: var(--accent); }
.inbox-bulk-entry input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.inbox-bulk-toggle { margin: 0 16px 10px; align-self: flex-start; }
.inbox-bulk-dialog { width: min(420px, calc(100vw - 24px)); padding: 22px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); color: var(--ink); }
.inbox-bulk-dialog::backdrop { background: #111d2f70; }
.inbox-bulk-dialog form, .inbox-bulk-dialog label { display: grid; gap: 12px; }
.inbox-bulk-dialog h2 { font-size: 19px; }
.inbox-bulk-dialog p, .inbox-bulk-dialog label { font-size: 13px; line-height: 1.5; }
.inbox-bulk-dialog select { min-height: 42px; border: 1px solid var(--border); padding: 6px; border-radius: 6px; }
.inbox-bulk-dialog .inbox-bulk-buttons { justify-content: flex-end; }

.filter-tabs .archive-filter {
  background: #e4ece8;
  color: #30574b;
}

.filter-tabs .archive-filter.selected {
  background: #d8eee3;
  color: #104b38;
  box-shadow: inset 0 0 0 1px #a5cdbb;
}

.filter-tabs button.archive-filter > span,
.filter-tabs button.archive-filter.selected > span {
  background: #f5faf7;
  color: #30574b;
}

.resolution-filter {
  display: grid;
  gap: 6px;
  padding: 14px 16px 0;
  flex-shrink: 0;
}

.resolution-filter label,
.resolution-undated {
  color: var(--muted);
  font-size: 11px;
}

.resolution-filter select,
.resolution-filter input {
  width: 100%;
  min-width: 0;
  min-height: 42px;
  padding: 7px 8px;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--ink);
  background: var(--surface);
  font-size: 12px;
}

.resolution-dates {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.resolution-dates label {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.thread-actions .resolve-chat-button,
.thread-actions .reopen-chat-button {
  max-width: none;
  min-height: 42px;
  padding: 9px 14px;
  border-radius: 8px;
  font-size: .78rem;
  font-weight: 750;
}

.thread-actions .resolve-chat-button {
  background: #126347;
  border-color: #126347;
  color: #fff;
}

.thread-actions .resolve-chat-button:hover:not(:disabled) {
  background: #0b5038;
  border-color: #0b5038;
}

.thread-actions .reopen-chat-button {
  border-color: #aac9bc;
  color: #16583f;
  background: #f6fbf8;
}

.thread-actions .reopen-chat-button:hover:not(:disabled) {
  background: #e7f3eb;
}

.thread-actions .resolve-chat-button > svg,
.thread-actions .reopen-chat-button > svg {
  flex-shrink: 0;
}

.filter-tabs button:focus-visible,
.thread-actions .resolve-chat-button:focus-visible,
.thread-actions .reopen-chat-button:focus-visible {
  outline: 2px solid #17634d;
  outline-offset: -2px;
}

.thread-actions .resolve-chat-button:focus-visible {
  outline-color: #fff;
  outline-offset: -4px;
}

.resolved-thread-notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 11px 20px;
  border-bottom: 1px solid #cbe1d6;
  background: #eaf5ef;
  color: #184d3a;
  font-size: .78rem;
  line-height: 1.5;
  flex-shrink: 0;
}

.resolved-thread-notice > svg {
  flex-shrink: 0;
  margin-top: 1px;
}

.resolved-thread-notice p {
  color: #3b5f51;
  font-size: .72rem;
}

.resolved-thread-footer {
  display: flex;
  justify-content: flex-end;
  padding: 10px 18px;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

@media (max-width: 760px) {
  .filter-tabs button {
    min-height: 44px;
  }

  .filter-tabs .archive-filter:nth-child(odd):last-child {
    grid-column: 1 / -1;
  }

  .thread-actions .resolve-chat-button,
  .thread-actions .reopen-chat-button {
    min-height: 44px;
    max-width: 136px;
    padding: 7px 9px;
    font-size: .72rem;
    text-align: left;
  }

  .resolved-thread-notice {
    padding-inline: 14px;
  }
}
.resolution-pagination {
  padding: .65rem .8rem;
  display: grid;
  justify-items: start;
}

.resolution-pagination p {
  margin: .25rem 0;
  font-size: .8rem;
}

.team-access-editor .team-access-lines { display: grid; gap: 8px; border: 1px solid var(--border); border-radius: 8px; padding: 10px; }
.team-access-lines legend { padding-inline: 5px; font-size: 12px; font-weight: 650; }
.reports-person-filters { display: flex; align-items: end; flex-wrap: wrap; gap: 12px; margin: 0 0 14px; }