/* Etiqueta de situação, linha de nota e estado vazio. */
.badge {
  display: inline-flex; align-items: center; gap: var(--s1); padding: 2px var(--s2) 2px 6px;
  border-radius: var(--radius-pill); font-size: var(--fs-rotulo); line-height: var(--lh-rotulo);
  font-weight: 700; text-transform: uppercase; letter-spacing: .08em; white-space: nowrap;
  color: var(--b-fg); background: var(--b-bg);
}
.badge svg { width: 14px; height: 14px; }
.badge-emitindo { --b-fg: var(--status-emitindo-ink); --b-bg: var(--status-emitindo-bg); }
.badge-emitindo svg { animation: spin 1.4s linear infinite; }
.badge-emitida { --b-fg: var(--status-emitida); --b-bg: var(--status-emitida-bg); }
.badge-recusada { --b-fg: var(--status-recusada); --b-bg: var(--status-recusada-bg); }
.badge-cancelada { --b-fg: var(--status-recusada); --b-bg: var(--status-recusada-bg); }
.badge-substituida { --b-fg: var(--status-cancelada); --b-bg: var(--status-cancelada-bg); }
.badge-analise { --b-fg: var(--status-emitindo-ink); --b-bg: var(--status-emitindo-bg); }

.note-row {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s3);
  width: 100%; min-height: 72px; padding: var(--s3) var(--s4); color: inherit; text-align: left;
  text-decoration: none; background: transparent; border: 0;
}
a.note-row:hover, button.note-row:hover { background: var(--surface-2); }
.note-row .who { min-width: 0; }
.note-row .who strong { display: block; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.note-row .meta { display: block; font-size: var(--fs-detalhe); line-height: var(--lh-detalhe); color: var(--muted); font-weight: 500; }
.note-row .end { display: flex; flex-direction: column; align-items: flex-end; gap: var(--s1); flex: none; }
.note-row .amount { font-weight: 700; font-variant-numeric: tabular-nums; }

.empty { display: grid; justify-items: center; gap: var(--s2); padding: var(--s7) var(--s4); text-align: center; }
.empty .ico {
  display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: var(--s2);
  border-radius: var(--radius-pill); background: var(--surface-2); color: var(--muted);
}
.empty p { color: var(--muted); max-width: 32ch; }
.empty .btn { margin-top: var(--s3); }
