/* Telegram delivery history — clear labels and readable multiline descriptions. */
.telegram-dispatch-table { table-layout: fixed; }
.telegram-dispatch-table th:nth-child(1) { width: 130px; }
.telegram-dispatch-table th:nth-child(2) { width: 155px; }
.telegram-dispatch-table th:nth-child(3) { width: 155px; }
.telegram-dispatch-table th:nth-child(4) { width: 205px; }
.telegram-dispatch-table td { vertical-align: top; white-space: normal; overflow-wrap: anywhere; }
.telegram-dispatch-table td > b,
.telegram-log-destination { display: block; color: var(--ink); font-weight: 700; }
.telegram-dispatch-table td > small { display: block; margin-top: 5px; }
.telegram-log-title { line-height: 1.9; font-size: 12px; }
.telegram-log-excerpt {
  font-size: 12px;
  line-height: 2;
  color: var(--sub);
  margin: 4px 0 8px;
  overflow-wrap: anywhere;
}
.telegram-log-reason {
  color: var(--warn) !important;
  line-height: 1.9;
  font-weight: 500;
}
.telegram-log-details { margin-top: 8px; max-inline-size: 100%; }
.telegram-log-details summary {
  display: inline-block;
  cursor: pointer;
  color: var(--brand-ink);
  font-weight: 700;
  font-size: 11px;
  border-bottom: 1px dashed currentColor;
}
.telegram-log-details summary:focus-visible {
  outline: 2px solid var(--indigo);
  outline-offset: 4px;
}
.telegram-log-original {
  background: var(--page);
  color: var(--ink);
  padding: 12px;
  margin-top: 10px;
  border-radius: 12px;
  border: 1px solid var(--line);
  white-space: pre-wrap;
  word-break: normal;
  overflow-wrap: anywhere;
  font: inherit;
  font-size: 12px;
  line-height: 2;
  max-inline-size: 100%;
}
.telegram-log-error, .telegram-log-debug {
  margin-top: 10px;
  padding: 10px 12px;
  background: var(--amber-soft);
  color: var(--warn);
  border-radius: 10px;
  font-size: 12px;
  line-height: 2;
  overflow-wrap: anywhere;
}
.telegram-log-debug { background: var(--page); color: var(--sub); }
.telegram-log-debug span { unicode-bidi: plaintext; white-space: pre-wrap; }
@media(max-width: 768px) {
  .telegram-dispatch-table,
  .telegram-dispatch-table tbody,
  .telegram-dispatch-table tbody tr { max-inline-size: 100%; }
  .telegram-dispatch-table td.telegram-log-message { padding-inline-start: 12px !important; }
  .telegram-log-title { font-size: 13px; }
  .telegram-log-original { max-inline-size: 100%; }
}
