.th5-request-feed {
  min-width: 0;
  margin-top: .65rem;
  padding: .7rem .85rem;
  border: 1px solid var(--border);
  border-radius: .65rem;
  background: var(--bg-2);
  color: var(--fg);
}
.th5-request-feed__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .4rem; }
.th5-request-feed__head h2 { margin: 0; font-size: .9rem; font-weight: 700; }
.th5-request-feed__controls { display:flex; flex-wrap:wrap; align-items:center; gap:.4rem; }
.th5-request-feed__controls label { font-size:.75rem; }
.th5-request-feed__head button, .th5-request-feed__head select {
  min-height: 1.75rem;
  padding: .15rem .5rem;
  border: 1px solid var(--border);
  border-radius: .3rem;
  background: var(--card);
  color: var(--fg);
  font: inherit;
  font-size: .75rem;
  cursor: pointer;
}
.th5-request-feed__head button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.th5-request-feed__status { min-height: 1.1rem; margin: .25rem 0; color: var(--fg-2); font-size: .75rem; }
.th5-request-feed__rows { list-style: none; margin: 0; padding: 0; min-height: 6rem; overflow: hidden; }
.th5-request-feed__rows[hidden], .th5-request-feed__status[hidden], .th5-request-feed__head button[hidden] { display: none; }
.th5-request-feed__rows li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, max-content);
  align-items: center;
  gap: .15rem .75rem;
  box-sizing: border-box;
  height: 2rem;
  border-top: 1px solid var(--border);
  font-size: .78rem;
}
.th5-request-feed__rows li span, .th5-request-feed__rows time { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.th5-request-feed__rows time { color: var(--fg-2); font-variant-numeric: tabular-nums; }
.th5-request-feed__updated { margin: .4rem 0; color: var(--fg-2); font-size: .72rem; font-variant-numeric: tabular-nums; }
.th5-request-feed__history { margin-top: .4rem; }
.th5-request-feed__history summary { color: var(--accent); font-size: .78rem; cursor: pointer; }
.th5-request-feed__rows.th5-request-feed__history-list {
  min-height: 0;
  max-height: 10rem;
  margin-top: .4rem;
  padding-inline-end: .35rem;
  overflow: auto;
  scrollbar-gutter: stable;
  scrollbar-color: var(--accent) var(--bg-2);
}
.th5-request-feed__history-list:focus-visible, .th5-request-feed__history summary:focus-visible, .th5-request-feed__head select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
@supports selector(::-webkit-scrollbar-thumb) {
  .th5-request-feed__rows.th5-request-feed__history-list { scrollbar-color: auto; }
  .th5-request-feed__history-list::-webkit-scrollbar { width: 11px; }
  .th5-request-feed__history-list::-webkit-scrollbar-track { background: var(--bg-2); border-radius: 1rem; }
  .th5-request-feed__history-list::-webkit-scrollbar-thumb {
    border: 2px solid var(--bg-2);
    border-radius: 1rem;
    background: var(--accent);
    background: linear-gradient(var(--accent), var(--accent-2, var(--accent)));
  }
  .th5-request-feed__history-list::-webkit-scrollbar-thumb:hover { background: var(--accent-2, var(--accent)); }
  .th5-request-feed__history-list::-webkit-scrollbar-thumb:active { background: var(--fg-2); }
}
@media (max-width: 380px) {
  .th5-request-feed__rows { min-height: 9rem; }
  .th5-request-feed__rows li { grid-template-columns: minmax(0, 1fr); grid-template-rows: 1fr 1fr; height: 3rem; }
}
