/* HTTP 接口调试 —— 专属样式 */
.http-req-row { display: flex; gap: 8px; margin-bottom: 10px; }
#http-method { font-family: var(--mono); border: 1px solid var(--border); border-radius: 8px; padding: 0 10px; background: #fff; }
#http-url { flex: 1; }
.http-opts { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 10px; font-size: 13px; }
.http-opts label { display: flex; align-items: center; gap: 5px; }
.http-opts input[type="number"] { width: 60px; padding: 3px 6px; }
.http-resp-head {
  font-family: var(--mono); font-size: 12px; color: var(--muted);
  background: #f8f9fb; border-bottom: 1px solid var(--border);
  padding: 8px 12px; max-height: 140px; overflow: auto;
  white-space: pre-wrap; word-break: break-all;
}
.http-history { display: flex; flex-direction: column; gap: 6px; max-height: 260px; overflow: auto; }
.hist-item {
  display: flex; align-items: center; gap: 8px;
  border: 1px solid var(--border); border-radius: 6px; padding: 6px 10px;
  font-family: var(--mono); font-size: 12px; cursor: pointer;
}
.hist-item:hover { border-color: var(--accent); background: var(--accent-soft); }
.hist-method { font-weight: 600; padding: 1px 6px; border-radius: 4px; background: var(--accent-soft); color: var(--accent); flex-shrink: 0; }
.hist-method.danger { background: var(--err-soft); color: var(--err); }
.hist-url { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text); }
.hist-meta { color: var(--muted); flex-shrink: 0; }
.hist-empty { color: var(--muted); font-size: 13px; padding: 6px; }
