/* ── Feature Exporta Anexos ─────────────────────────────────────────────── */
.anexos { display: flex; flex-direction: column; height: 100%; padding: 20px 24px; gap: 12px; }

.anexos-filtros { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end; }
.anexos-field { display: flex; flex-direction: column; gap: 5px; min-width: 150px; }
.anexos-field label {
  font-size: 11px; font-weight: 600; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--text-subtle);
}
.anexos-field input, .anexos-field select {
  height: 36px; padding: 0 10px;
  background: var(--surface); color: var(--text);
  border: 1px solid var(--border); border-radius: var(--radius-sm, 6px);
  font-family: inherit; font-size: 13px;
}
.anexos-field select { min-width: 180px; }
.anexos-field input:focus, .anexos-field select:focus { outline: none; border-color: var(--accent); }

.anexos-nota { color: var(--text-muted); font-size: 12px; margin: 0; }

.anexos-acoes { display: flex; align-items: center; gap: 12px; }
.anexos-spacer { flex: 1; }
.anexos-muted { color: var(--text-muted); font-size: 12px; }
.anexos-muted.erro { color: var(--danger); }

.anexos-tablewrap { flex: 1; min-height: 0; overflow: auto; border: 1px solid var(--border); border-radius: var(--radius-md, 8px); }
.anexos-vazio { padding: 22px; color: var(--text-muted); font-size: 13px; }

.anexos-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.anexos-table thead th {
  position: sticky; top: 0; z-index: 1;
  background: var(--bg-elevated); color: var(--text-muted);
  text-align: left; font-weight: 600; font-size: 11px;
  letter-spacing: 0.04em; text-transform: uppercase;
  padding: 9px 12px; border-bottom: 1px solid var(--border);
}
.anexos-table tbody td { padding: 8px 12px; border-bottom: 1px solid var(--border); color: var(--text); }
.anexos-table tbody tr:hover { background: var(--surface-hover); }
.anexos-table tbody tr.sel { background: var(--accent-glow); }
.anexos-table .ax-check { width: 42px; text-align: center; }
.anexos-table th.ax-sortable { cursor: pointer; user-select: none; white-space: nowrap; }
.anexos-table th.ax-sortable:hover { color: var(--text); background: var(--surface-hover); }
.anexos-table th.ax-sortable.sorted { color: var(--accent); }
.anexos-table th .ax-arrow { font-size: 10px; }

.anexos-acoes { padding-top: 4px; }
