/* 生产环境连接状态提示，独立于压缩的历史样式，便于长期维护。 */
.transport-warning {
  margin: 0 0 14px;
  padding: 10px 13px;
  border: 1px solid #efca7b;
  border-radius: 10px;
  background: #fff7e4;
  color: #754400;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.55;
}

.auth-card .transport-warning {
  margin: -6px 0 4px;
}

.history-head {
  align-items: end;
  gap: 12px;
}

.record-search {
  display: block;
  width: min(310px, 100%);
  margin-left: auto;
}

.record-search input {
  width: 100%;
  min-height: 42px;
  margin: 0;
}

.search-empty {
  margin: 0 0 12px;
  padding: 11px 13px;
  border: 1px dashed #c7d7cf;
  border-radius: 10px;
  background: #f7faf7;
  color: #527066;
  font-size: 14px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 700px) {
  .transport-warning {
    margin-bottom: 12px;
    font-size: 12px;
  }

  .history-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
  }

  .history-head > div {
    grid-column: 1 / -1;
  }

  .history-head .record-search {
    grid-column: 1;
    grid-row: 2;
  }

  .record-search {
    width: 100%;
    margin-left: 0;
  }

  .history-head .count-badge {
    grid-column: 2;
    grid-row: 2;
    white-space: nowrap;
  }
}
