:root {
  color-scheme: light;
  font-family: "Segoe UI", Arial, sans-serif;
  color: #172b3a;
  background: #f3f6f8;
}
* { box-sizing: border-box; }
body { margin: 0; }
main { max-width: 1160px; margin: 0 auto; padding: 44px 24px 28px; }
.page-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.eyebrow { color: #5b7181; font-size: 11px; font-weight: 700; letter-spacing: 2px; }
h1 { margin: 8px 0; font-size: 38px; letter-spacing: -1px; }
h1 span { color: #078575; }
.page-header p:last-child { margin: 0; color: #5b7181; }
.local-badge { padding: 9px 14px; border: 1px solid #c6e0d9; border-radius: 24px; color: #116657; background: #e8f4ef; font-size: 12px; white-space: nowrap; }
.card { padding: 26px; border: 1px solid #dce4e9; border-radius: 14px; background: #fff; margin-bottom: 20px; }
h2 { font-size: 18px; margin: 0 0 22px; }
h3 { font-size: 14px; margin: 20px 0 12px; }
label { display: block; font-size: 13px; font-weight: 600; }
input, select, textarea, button { font: inherit; }
input, select, textarea { width: 100%; padding: 12px; border: 1px solid #c7d4de; border-radius: 7px; color: #172b3a; background: #fff; }
input, select { min-height: 45px; }
input, .request-line select { margin-top: 8px; }
input:focus, select:focus, textarea:focus { outline: 2px solid #078575; outline-offset: 2px; }
textarea { resize: vertical; min-height: 190px; line-height: 1.6; font: 13px/1.6 Consolas, monospace; background: #fbfcfd; }
button { min-height: 45px; padding: 12px 22px; border: 0; border-radius: 7px; background: #087d70; color: #fff; font-weight: 600; cursor: pointer; }
button:hover { background: #05665c; }
button:focus-visible, summary:focus-visible { outline: 2px solid #172b3a; outline-offset: 3px; }
.request-line { display: grid; grid-template-columns: 115px minmax(0, 1fr) auto; align-items: end; gap: 12px; }
.hint { font-size: 12px; color: #607382; line-height: 1.6; margin: 9px 0 12px; }
.editors { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 26px; }
.muted { color: #607382; font-weight: 400; }
.type-label { margin: 14px 0 8px; }
.response-title { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 15px; margin-bottom: 16px; }
.response-title h2 { margin: 0; }
.metrics { display: flex; gap: 18px; flex-wrap: wrap; font-size: 13px; color: #526877; }
.metrics strong { color: #172b3a; }
.error { background: #fff1ed; color: #a03222; padding: 14px; border-radius: 7px; overflow-wrap: anywhere; line-height: 1.5; }
summary { cursor: pointer; font-size: 13px; padding: 12px 0; color: #385364; }
pre { margin: 0; padding: 16px; border-radius: 7px; background: #f3f6f8; font: 13px/1.6 Consolas, monospace; white-space: pre-wrap; overflow-wrap: anywhere; max-height: 540px; overflow: auto; }
.response-body { background: #152a38; color: #e1eef3; }
.empty-state { padding: 28px 12px; text-align: center; color: #607382; }
.empty-state h3 { color: #385364; margin: 12px 0 8px; }
.empty-state p, .empty { font-size: 13px; color: #607382; }
.empty-icon { display: inline-block; font-size: 25px; color: #078575; }
footer { color: #607382; font-size: 12px; text-align: center; line-height: 1.7; }
[hidden] { display: none !important; }
.secondary { background: #edf3f5; color: #385364; font-size: 13px; }
.secondary:hover { background: #dae8ed; }
.form-row { display: grid; grid-template-columns: minmax(100px, 1fr) minmax(150px, 2fr) auto; align-items: center; gap: 10px; margin-bottom: 12px; }
.form-row input { margin: 0; }
#webhook-items details { margin-top: 12px; }
@media (max-width: 700px) {
  main { padding: 24px 14px; }
  .page-header { align-items: flex-start; flex-direction: column; }
  h1 { font-size: 32px; }
  .card { padding: 18px; }
  .request-line { grid-template-columns: 90px minmax(0, 1fr); }
  .request-line button { grid-column: 1 / -1; }
  .editors { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: minmax(0, 1fr) auto; }
  .form-row input:nth-child(2) { grid-column: 1; grid-row: 2; }
  .form-row button { grid-column: 2; grid-row: 1 / 3; }
}
