/* af-esteira-notas-20260925.css — botões Editar/Excluir das notas da Esteira */
.afs-hist-item { position: relative; }
.afs-nota-acoes { display: flex; gap: .4rem; justify-content: flex-end; margin-top: .45rem; }
.afs-nota-bt {
  font: inherit; font-size: .75rem; font-weight: 600; line-height: 1;
  padding: .38rem .6rem; border-radius: .5rem; cursor: pointer;
  background: transparent; color: #6b7280; border: 1px solid #e5e7eb;
}
.afs-nota-bt-x { color: #b91c1c; }
.afs-nota-bt-armado { background: #dc2626 !important; color: #fff !important; border-color: #dc2626 !important; }
.afs-nota-bt:disabled { opacity: .6; cursor: default; }
@media (hover: hover) {
  .afs-nota-acoes { opacity: .55; transition: opacity .15s; }
  .afs-hist-item:hover .afs-nota-acoes, .afs-nota-acoes:focus-within { opacity: 1; }
  .afs-nota-bt:hover { background: #f3f4f6; color: #111827; }
  .afs-nota-bt-x:hover { background: #fef2f2; color: #991b1b; }
}
.afs-nota-ed { width: 100%; margin-top: .25rem; }
.afs-nota-ed-bts { display: flex; gap: .5rem; justify-content: flex-end; margin-top: .5rem; }

html.dark .afs-nota-bt { color: hsl(219 12% 72%); border-color: hsl(219 18% 28%); }
html.dark .afs-nota-bt-x { color: #fca5a5; }
@media (hover: hover) {
  html.dark .afs-nota-bt:hover { background: hsl(217 26% 19%); color: hsl(220 24% 94%); }
  html.dark .afs-nota-bt-x:hover { background: rgba(239,68,68,.14); color: #fecaca; }
}

/* anexos: área de soltar */
.afs-anexos { border-radius: .6rem; transition: background .12s, box-shadow .12s; }
.afs-anexos.afs-soltar-on { background: rgba(249,115,22,.08); box-shadow: 0 0 0 2px #f97316 inset; }
html.dark .afs-anexos.afs-soltar-on { background: rgba(249,115,22,.14); }
