/* Panneau Historique serveur (app-history.js, 30/08/2026) : liste paginée
   de tous les échanges, filtre texte. Reprend les variables d'app.css. */

.history-search-row {
  padding: 8px 12px;
  border-bottom: 1px solid var(--border, #ddd);
}

#history-search {
  width: 100%;
  box-sizing: border-box;
  min-height: 44px; /* cible tactile (ergonomie v1.49+) */
  padding: 10px 12px;
  border: 1px solid var(--border, #ccc);
  border-radius: 10px;
  font: inherit;
  background: var(--bg, #fff);
  color: inherit;
}

.history-item {
  margin: 10px 12px;
  padding: 10px 12px;
  border: 1px solid var(--border, #ddd);
  border-radius: 12px;
  background: var(--card-bg, #fff);
}

.history-item-date {
  font-size: 0.78em;
  opacity: 0.65;
  margin-bottom: 6px;
  display: flex;
  gap: 8px;
  align-items: baseline;
}

.history-item-failed {
  color: #b3261e;
  font-weight: 600;
}

.history-item-question {
  font-weight: 600;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin-bottom: 6px;
}

.history-item-answer {
  white-space: normal;
  overflow-wrap: anywhere;
}

.history-item-answer table {
  display: block;
  overflow-x: auto;
}

.history-expand {
  margin-top: 8px;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid var(--border, #ccc);
  border-radius: 10px;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

#history-status {
  padding: 10px 14px;
  opacity: 0.7;
}

#history-more {
  display: block;
  margin: 6px auto 16px;
  min-height: 44px;
  padding: 8px 18px;
}
