.guide-status__head,
.guide-status__filters,
.guide-status__runtime-grid {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.guide-status__runtime-grid > * { flex: 1 1 320px; }
.guide-status__returns {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.guide-status__section-head h3 { margin: 0 0 4px; }
.guide-status__return-table-wrap { max-height: 360px; }
.guide-status__return-table-wrap td { vertical-align: top; }
.guide-status__filters > div { min-width: 180px; }
.guide-status__filters label { display: block; margin-bottom: 5px; }
.guide-status__search { flex: 1 1 260px; }
.guide-status__filters input,
.guide-status__filters select { width: 100%; }
.guide-status__table-wrap { max-height: 65vh; }
.guide-status__table-wrap td { vertical-align: top; }
.guide-status__table-wrap .small { display: block; margin-top: 4px; }
.guide-status__run-list { display: grid; gap: 8px; margin-top: 12px; }
.guide-status__run {
  display: grid;
  grid-template-columns: minmax(140px, 1fr) repeat(3, minmax(100px, auto));
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

@media (max-width: 760px) {
  .guide-status__head,
  .guide-status__head .actions,
  .guide-status__filters { align-items: stretch; }
  .guide-status__head .actions,
  .guide-status__filters > div,
  .guide-status__filters > button { width: 100%; }
  .guide-status__run { grid-template-columns: 1fr 1fr; }
  .guide-status__table-wrap { max-height: none; }
  .guide-status__return-table-wrap { max-height: none; }
}
