.api-relay-card-preview{min-width:0;color:var(--term-tone-ink);font-variant-numeric:tabular-nums;gap:8px;display:grid}.api-relay-card-head{justify-content:space-between;align-items:center;gap:8px;min-width:0;display:flex}.api-relay-card-title{color:var(--term-tone-ink);font-size:13.5px;font-weight:700;line-height:1.4}.api-relay-card-badge{background:var(--term-tone-soft);color:var(--term-tone-accent);white-space:nowrap;border-radius:999px;flex-shrink:0;padding:2px 8px;font-size:12px;font-weight:650}.api-relay-card-row{background:var(--term-tone-stage);border-radius:10px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px 10px;padding:8px 11px;display:flex;box-shadow:inset 0 1px #ffffff8c}html[data-lg-theme=dark] .api-relay-card-row{box-shadow:inset 0 1px #ffffff14}.api-relay-card-row.is-route{background:var(--term-tone-soft)}.api-relay-card-phase{color:var(--term-tone-accent);white-space:nowrap;font-size:12px;font-weight:700}.api-relay-card-meta{color:var(--term-tone-muted);font-family:var(--font-mono);white-space:nowrap;font-size:12px;font-weight:600}.api-relay-card-chips{flex-wrap:wrap;align-items:center;gap:4px;display:inline-flex}.api-relay-card-chips em{background:var(--term-tone-stage);color:var(--term-tone-ink);white-space:nowrap;border-radius:6px;padding:2px 7px;font-size:12px;font-style:normal;font-weight:650}.api-relay-card-chips em.is-warn{background:var(--warn-wash);color:var(--warn-ink)}.term-interactive-demo.api-relay-demo{background:var(--term-tone-bg);-webkit-backdrop-filter:blur(14px)saturate(175%);min-width:0;box-shadow:var(--lg-rim), var(--lg-elevation-sm);color:var(--term-tone-ink);font-variant-numeric:tabular-nums;border:0;border-radius:22px;gap:16px;padding:clamp(16px,3vw,24px);display:grid}.api-relay-demo h3,.api-relay-demo p{margin:0}.api-relay-controls{flex-wrap:wrap;align-items:flex-start;gap:14px 20px;display:flex}.api-relay-control-group{align-content:start;gap:7px;min-width:0;display:grid}.api-relay-control-label{color:var(--term-tone-muted);font-size:12.5px;font-weight:700;line-height:1.4}.api-relay-seg-bar{background:var(--term-tone-soft);border-radius:18px;flex-wrap:wrap;justify-self:start;align-items:center;gap:4px;max-width:100%;padding:4px;display:inline-flex}.term-interactive-demo.api-relay-demo button{background:var(--term-tone-stage);min-height:40px;box-shadow:var(--lg-rim), 0 2px 6px #0f172a0f;color:var(--term-tone-ink);cursor:pointer;opacity:1;transition:background-color .16s ease, color .16s ease, transform .15s var(--lg-spring), box-shadow .16s ease;border:0;border-radius:999px;padding:8px 15px;font-size:13px;font-weight:650}.term-interactive-demo.api-relay-demo button:hover:not(:disabled):not([aria-pressed=true]){background:var(--term-tone-soft);color:var(--term-tone-ink)}.term-interactive-demo.api-relay-demo button:active:not(:disabled){transform:scale(.96)}.term-interactive-demo.api-relay-demo button:focus-visible{outline:2px solid var(--term-tone-accent);outline-offset:2px}.term-interactive-demo.api-relay-demo button:disabled{background:var(--term-tone-soft);color:var(--term-tone-muted);box-shadow:none;opacity:.55;cursor:not-allowed}.term-interactive-demo.api-relay-demo button.api-relay-seg-btn{min-height:36px;box-shadow:none;color:var(--term-tone-muted);white-space:nowrap;background:0 0;padding:6px 13px;font-size:13px;font-weight:700}.term-interactive-demo.api-relay-demo button.api-relay-seg-btn:hover:not(:disabled):not([aria-pressed=true]){background:var(--term-tone-stage);color:var(--term-tone-ink)}.term-interactive-demo.api-relay-demo button.api-relay-seg-btn[aria-pressed=true]{background:var(--term-tone-accent);color:var(--term-tone-accent-ink);box-shadow:inset 0 1px #ffffff47,0 3px 10px #0f172a29}.api-relay-workbench{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:16px;display:grid}.api-relay-pane{background:var(--term-tone-stage);border:0;border-radius:18px;flex-direction:column;gap:12px;min-width:0;padding:18px;display:flex;box-shadow:inset 0 1px 2px #0f172a0a,0 1px #ffffffa6}html[data-lg-theme=dark] .api-relay-pane{box-shadow:inset 0 1px #ffffff14,inset 0 1px 3px #00000059}.api-relay-pane-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.api-relay-pane-head h3{color:var(--term-tone-ink);letter-spacing:-.01em;font-size:14px;font-weight:750}.api-relay-metric-pill{background:var(--term-tone-soft);color:var(--term-tone-accent);font-family:var(--font-mono);white-space:nowrap;border-radius:999px;padding:3px 10px;font-size:12px;font-weight:650}.api-relay-metric-pill[data-tone=ok]{background:var(--pass-wash);color:var(--pass-ink)}.api-relay-metric-pill[data-tone=warn]{background:var(--warn-wash);color:var(--warn-ink)}.api-relay-metric-pill[data-tone=fail]{background:var(--fail-wash);color:var(--fail-ink)}.api-relay-pane-sub{color:var(--term-tone-muted);font-size:13px;line-height:1.5}.api-relay-pane-sub strong{color:var(--term-tone-ink)}.api-relay-hop-list{gap:8px;margin:0;padding:0;list-style:none;display:grid}.api-relay-hop-item{background:var(--term-tone-bg);color:var(--term-tone-ink);border-radius:12px;gap:4px;padding:10px 12px;transition:background-color .18s,color .18s;display:grid}.api-relay-hop-item[data-tone=ok]{background:var(--pass-wash)}.api-relay-hop-item[data-tone=warn]{background:var(--warn-wash)}.api-relay-hop-item[data-tone=fail]{background:var(--fail-wash)}.api-relay-hop-top{justify-content:space-between;align-items:center;gap:8px;display:flex}.api-relay-hop-title{color:var(--term-tone-ink);font-size:13px;font-weight:700}.api-relay-hop-badge{font-family:var(--font-mono);color:var(--term-tone-muted);white-space:nowrap;font-size:11.5px;font-weight:700}.api-relay-hop-item[data-tone=ok] .api-relay-hop-badge{color:var(--pass-ink)}.api-relay-hop-item[data-tone=warn] .api-relay-hop-badge{color:var(--warn-ink)}.api-relay-hop-item[data-tone=fail] .api-relay-hop-badge{color:var(--fail-ink)}.api-relay-hop-sub{color:var(--term-tone-muted);font-size:12.5px;line-height:1.45}.api-relay-latency-wrap{background:var(--term-tone-bg);border-radius:12px;gap:6px;padding:10px 12px;display:grid}.api-relay-latency-head{color:var(--term-tone-muted);justify-content:space-between;align-items:center;gap:8px;font-size:12px;display:flex}.api-relay-latency-head strong{color:var(--term-tone-ink);font-family:var(--font-mono)}.api-relay-latency-track{background:var(--term-tone-soft);border-radius:999px;width:100%;height:8px;display:flex;overflow:hidden}.api-relay-latency-base{background:var(--term-tone-accent);height:100%;transition:width .22s}.api-relay-latency-extra{background:var(--warn-ink);height:100%;transition:width .22s}.api-relay-latency-extra[data-tone=fail]{background:var(--fail-ink)}.api-relay-code-snippet{background:var(--term-tone-bg);color:var(--term-tone-ink);font-family:var(--font-mono);white-space:pre-wrap;border-radius:12px;margin:0;padding:10px 12px;font-size:12px;line-height:1.55;overflow-x:auto}.api-relay-check-list{gap:8px;margin:0;padding:0;list-style:none;display:grid}.api-relay-check-item{background:var(--term-tone-bg);border-radius:12px;gap:4px;padding:10px 12px;display:grid}.api-relay-check-item[data-tone=ok]{background:var(--pass-wash)}.api-relay-check-item[data-tone=warn]{background:var(--warn-wash)}.api-relay-check-item[data-tone=fail]{background:var(--fail-wash)}.api-relay-check-top{justify-content:space-between;align-items:center;gap:8px;display:flex}.api-relay-check-label{color:var(--term-tone-muted);font-size:12px;font-weight:700}.api-relay-check-tag{background:var(--term-tone-stage);color:var(--term-tone-ink);white-space:nowrap;border-radius:999px;padding:2px 8px;font-size:11.5px;font-weight:700}.api-relay-check-item[data-tone=ok] .api-relay-check-tag{color:var(--pass-ink)}.api-relay-check-item[data-tone=warn] .api-relay-check-tag{color:var(--warn-ink)}.api-relay-check-item[data-tone=fail] .api-relay-check-tag{color:var(--fail-ink)}.api-relay-check-title{color:var(--term-tone-ink);font-size:13.5px;font-weight:700}.api-relay-check-desc{color:var(--term-tone-muted);font-size:12.5px;line-height:1.5}.api-relay-recovery-bar{background:var(--warn-wash);color:var(--warn-ink);border-radius:12px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;padding:10px 12px;font-size:12.5px;font-weight:650;display:flex}.term-interactive-demo.api-relay-demo button.api-relay-btn-recover{background:var(--term-tone-accent);min-height:36px;color:var(--term-tone-accent-ink);padding:6px 14px;font-size:12.5px;font-weight:700;box-shadow:inset 0 1px #ffffff40,0 3px 10px #0f172a24}.term-interactive-demo.api-relay-demo button.api-relay-btn-recover:hover:not(:disabled):not([aria-pressed=true]){filter:brightness(1.06);background:var(--term-tone-accent);color:var(--term-tone-accent-ink)}.api-relay-verdict{background:var(--term-tone-soft);color:var(--term-tone-muted);border-radius:10px;align-items:center;gap:8px;margin-top:auto;padding:8px 12px;font-size:12.5px;font-weight:650;display:inline-flex}.api-relay-verdict-dot{background:currentColor;border-radius:50%;flex-shrink:0;width:7px;height:7px}.api-relay-verdict[data-tone=ok]{background:var(--pass-wash);color:var(--pass-ink)}.api-relay-verdict[data-tone=warn]{background:var(--warn-wash);color:var(--warn-ink)}.api-relay-verdict[data-tone=fail]{background:var(--fail-wash);color:var(--fail-ink)}.api-relay-status{background:var(--term-tone-stage);color:var(--term-tone-muted);border-radius:12px;padding:11px 14px;font-size:13px;line-height:1.55}.api-relay-status strong{color:var(--term-tone-ink)}.api-relay-examples .term-mini-code{white-space:pre-wrap;overflow-wrap:anywhere}@media (max-width:780px){.api-relay-workbench{grid-template-columns:minmax(0,1fr)}.api-relay-control-group{width:100%}.api-relay-seg-bar{border-radius:16px;width:100%;display:flex}.term-interactive-demo.api-relay-demo button.api-relay-seg-btn{white-space:normal;flex:auto}}@media (prefers-reduced-motion:reduce){.term-interactive-demo.api-relay-demo *{transition:none!important;animation:none!important}}
