/* Synclime v30: bounded attachment rows, complete chronological history and dark chat surfaces. */
.attach-order-modal,
.attach-orders-list,
.attach-order-row { min-width: 0; }
.attach-orders-list { overflow-x: hidden; }
.attach-order-row {
  grid-template-columns: 20px minmax(140px, 1.45fr) minmax(82px, .72fr) minmax(92px, .78fr) minmax(110px, 1fr);
  gap: 8px;
}
.attach-order-row > * { min-width: 0; }
.attach-order-row > .badge {
  width: 100%;
  max-width: 100%;
  min-height: 28px;
  padding-block: 5px;
  justify-self: stretch;
  justify-content: flex-start;
  white-space: normal;
  line-height: 1.2;
  overflow-wrap: anywhere;
}
:root[data-theme="dark"] .messages-workspace .messages-layout,
:root[data-theme="dark"] .messages-workspace .inbox-pane,
:root[data-theme="dark"] .messages-workspace .inbox-head,
:root[data-theme="dark"] .messages-workspace .conversation-list,
:root[data-theme="dark"] .messages-workspace .conversation-group,
:root[data-theme="dark"] .messages-workspace .pinned-stories,
:root[data-theme="dark"] .messages-workspace .conversation-item { background: var(--surface); }
:root[data-theme="dark"] .messages-workspace .message-search,
:root[data-theme="dark"] .messages-workspace .conversation-group-label,
:root[data-theme="dark"] .messages-workspace .conversation-limit-note { color: var(--text-muted); background: var(--surface-subtle); }
:root[data-theme="dark"] .messages-workspace .message-search input { color: var(--text); background: transparent; }
:root[data-theme="dark"] .messages-workspace .dialog-state-filters button { color: var(--text-secondary); background: var(--surface-subtle); }
:root[data-theme="dark"] .messages-workspace .dialog-state-filters button.active,
:root[data-theme="dark"] .messages-workspace .conversation-item.selected { color: var(--primary); background: var(--primary-soft); }
:root[data-theme="dark"] .messages-workspace .message-filters,
:root[data-theme="dark"] .messages-workspace .message-filters button { color: var(--text-secondary); background: var(--surface); }
:root[data-theme="dark"] .messages-workspace .message-filters button.active { color: var(--primary); background: var(--primary-soft); }
