/* Complementos de la app conectada (barra de acciones y estados). styles.css conserva el original. */
.hero-title { min-width: 0; }
#groupsToolbar { flex: 1 1 320px; justify-content: flex-end; }
#groupsSearch { width: min(260px, 100%); min-height: 34px; }
.list-status { margin: 0; padding: 8px 12px; border: 1px solid var(--v-border); border-radius: 8px; background: #fff; color: var(--v-muted); overflow-wrap: anywhere; }
.list-status.error, .dialog-status.error, .live.error { color: var(--v-danger); border-left: 4px solid var(--v-danger); }
.dialog-status { margin: 0 0 10px; padding: 6px 10px; border: 1px solid var(--v-border); border-radius: 6px; color: #155724; overflow-wrap: anywhere; }
.row-actions { display: flex; flex-wrap: nowrap; align-items: center; gap: 4px; }
.row-actions button { min-height: 26px; padding: 2px 8px; font-size: 12px; }
.delete-unit:not(:disabled) { color: var(--v-danger); border-color: #e3a0a8; background-color: #fff5f6; }
.delete-unit:hover:not(:disabled) { color: #fff; border-color: var(--v-danger); background-color: var(--v-danger); }
.expiration-display.expired { color: var(--v-danger); }
.expiration-display.dirty { font-style: italic; }
.expiration-display.dirty::after { content: " *"; color: var(--v-primary); }
.available-list p { margin: 6px; color: var(--v-muted); }
/* El selector es hijo del dialogo: sin el margen lateral de la capa v2 (queda centrado en la ventana). */
#addDialog { margin: 0; }
@media (max-width: 700px) {
  #groupsToolbar { justify-content: stretch; }
  #groupsToolbar > * { flex: 1 1 140px; }
  #groupsSearch { width: 100%; flex-basis: 100%; }
  .hero > :not(.hero-title) button { min-width: 0; }
}
