/* ============================================================
   Aufträge — Listen-Layout (Übersicht mit Inline-Edit)
   Generische Listen-Patterns aus
   _shared/functions/list-view/grid-css/idf-list-grid.css. Hier nur
   Spaltenbreiten + Status-Pillen-Farben.
   ============================================================ */

.au-grid {
  /* Erledigt · Titel · Auftragsnummer (ERP) · Fällig · Verantwortlich · Unternehmen · Löschen */
  display: grid;
  /* Breiten aus der CSS-Variable (col-resize-Baustein); Fallback = Defaults. */
  grid-template-columns: var(--au-cols,
    44px minmax(240px, 1fr) 160px 160px 200px 200px 44px);
  align-items: stretch;
  gap: 0;
}

.au-rows .au-row .au-grid > .idf-list-cell-action {
  justify-content: center;
  padding: 0;
}

/* Erledigte Aufträge dezent abgesetzt + Titel durchgestrichen (wie Aufgaben). */
.au-rows .au-row.is-erledigt .au-cell-titel .idf-list-cell-two-line-text {
  text-decoration: line-through;
  color: var(--mid, #555555);
}
.au-rows .au-row.is-erledigt:not(:hover) { opacity: 0.7; }

@media (max-width: 1100px) {
  .au-main { overflow-x: auto; }
  .au-thead, .au-rows, .au-stats { min-width: 944px; }
}
