/* Inventaire */

/* Inventaire fusionné */
.inv-summary { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; color: var(--muted); font-size: .9rem; margin-bottom: .8rem; }
.inv-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin-top: .4rem; }
.inv-col { min-width: 0; padding-right: 1rem; }
.inv-col + .inv-col { padding-right: 0; padding-left: 1rem; border-left: 1px solid var(--line); }
.inv-col h3 { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: .3rem; }
.irow { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .15rem .75rem; padding: .55rem 0; border-top: 1px solid var(--line); }
.irow:first-of-type { border-top: 0; }
.irow .iname { font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
.irow .iqty { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; }
.irow .imeta { grid-column: 1 / -1; color: var(--muted); font-size: .82rem; }
.irow .iact { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .2rem; }
.inv-empty { color: var(--muted); font-size: .88rem; padding: .5rem 0; }
@media (max-width: 760px) {
  .inv-split { grid-template-columns: 1fr; }
  .inv-col { padding-right: 0; }
  .inv-col + .inv-col { padding-left: 0; border-left: 0; border-top: 1px dashed var(--line); margin-top: .6rem; padding-top: .6rem; }
}

.badge.quality { border-color: var(--accent-2); color: var(--accent-2); font-variant-numeric: tabular-nums; }
.pager { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; justify-content: center; margin-top: .8rem; }

/* Journal d'import */
pre.log { background: #0d141d; border: 1px solid var(--line); border-radius: 8px; padding: .6rem .8rem; margin: .6rem 0 0;
  font: .8rem/1.45 ui-monospace, SFMono-Regular, Menlo, monospace; white-space: pre-wrap; word-break: break-word; max-height: 260px; overflow: auto; }
.card.alert-info { border-color: var(--accent); }
code { font: .82rem ui-monospace, SFMono-Regular, Menlo, monospace; background: #0d141d; padding: .1rem .3rem; border-radius: 4px; word-break: break-all; }
