@font-face {
  font-family: "Work Sans";
  src: url("/assets/WorkSans-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --ink: #19174f;
  --text: #272b40;
  --muted: #626679;
  --accent: #3157d7;
  --blue: #4269f6;
  --tint: #f1f4ff;
  --line: #dce1ee;
  --surface: #f7f8fb;
  --white: #fff;
  --radius: 8px;
  --mono: ui-monospace, SFMono-Regular, Consolas, monospace;
  --space: 24px;
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
input,
select,
textarea {
  font: inherit;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--muted);
  border-radius: 5px;
  padding: 10px 12px;
  width: 100%;
  min-width: 0;
  caret-color: var(--accent);
}
input::placeholder {
  color: var(--muted);
  opacity: 1;
}
label {
  display: block;
  font-weight: 550;
  color: var(--ink);
}
label input,
label select {
  margin: 8px 0 16px;
}
textarea {
  margin-top: 12px;
  font-family: var(--mono);
  resize: vertical;
}
.primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.primary:hover {
  background: var(--ink);
  color: var(--white);
}
.primary:disabled {
  background: var(--surface);
  color: var(--muted);
  border-color: var(--line);
}
.token-fields {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 20px;
}
.token-toolbar,
.token-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.token-toolbar {
  justify-content: space-between;
  margin: 24px 0;
}
.token-toolbar p {
  margin: 0;
  overflow-wrap: anywhere;
}
#agent-created {
  margin-top: 24px;
}
.token-row {
  padding: 24px 0 0;
  overflow-wrap: anywhere;
}
.token-row strong,
.token-row code {
  display: block;
}
.token-row .small {
  margin-bottom: 0;
}
.token-row details p {
  margin-bottom: 12px;
}
body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font:
    16px/1.65 "Work Sans",
    system-ui,
    sans-serif;
}
::selection {
  background: #dce4ff;
  color: var(--ink);
}
a {
  color: var(--accent);
  text-underline-offset: 4px;
}
a:hover {
  color: var(--ink);
}
:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}
button {
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 7px 11px;
  background: var(--white);
  color: var(--ink);
  min-height: 36px;
}
button:hover {
  background: var(--tint);
  border-color: var(--accent);
}
button:disabled {
  cursor: default;
  color: var(--muted);
}
.masthead {
  max-width: 892px;
  margin: auto;
  padding: 20px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.version {
  font-size: 0.875rem;
  color: var(--muted);
}
.brand {
  display: flex;
  align-items: center;
  gap: 24px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 550;
}
.brand img {
  object-fit: contain;
  display: block;
}
.brand span {
  white-space: nowrap;
}
.layout {
  max-width: 892px;
  margin: 0 auto;
  padding: 40px 36px 72px;
}
.connections {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin: 28px 0 0;
}
.connections a {
  padding: 8px 0;
  font-weight: 550;
  text-decoration-thickness: 1px;
}
.protocol summary {
  font-size: 0.875rem;
  color: var(--muted);
}
.protocol {
  margin-top: 8px;
}
.protocol p {
  font-size: 0.875rem;
}
main {
  min-width: 0;
  max-width: 820px;
}
h1,
h2 {
  color: var(--ink);
  line-height: 1.17;
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  letter-spacing: -0.035em;
  font-weight: 620;
  margin: 0 0 22px;
}
h2 {
  font-size: 1.8rem;
  letter-spacing: -0.025em;
  margin: 0 0 18px;
  font-weight: 620;
}
p {
  max-width: 72ch;
  margin: 0 0 18px;
}
.small {
  font-size: 0.875rem;
  color: var(--muted);
  margin-top: 14px;
}
code {
  font-family: var(--mono);
  font-size: 0.88em;
  overflow-wrap: anywhere;
}
p code,
dd code,
li code {
  background: var(--surface);
  padding: 2px 4px;
  border-radius: 3px;
  color: var(--ink);
}
section {
  margin-top: 64px;
  scroll-margin-top: 24px;
}
.endpoint {
  background: var(--tint);
  border-radius: var(--radius);
  padding: 16px 20px 20px;
}
.endpoint > code {
  display: block;
  font-size: 0.9rem;
  color: var(--ink);
  margin-top: 14px;
}
.code-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 0.75rem;
  color: var(--muted);
}
.client {
  scroll-margin-top: 24px;
}
.client + .client {
  margin-top: 48px;
}
.code-block {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 12px 16px;
  margin: 16px 0;
}
pre {
  margin: 12px 0 2px;
  overflow-x: auto;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.75;
  color: var(--ink);
}
.reference {
  font-size: 0.875rem;
}
.steps {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  counter-reset: step;
}
.steps li {
  counter-increment: step;
  position: relative;
  padding: 0 0 26px 48px;
}
.steps li:last-child {
  padding-bottom: 0;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--tint);
  color: var(--accent);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.steps strong {
  display: block;
  color: var(--ink);
  margin-bottom: 5px;
}
.steps span {
  display: block;
  color: var(--muted);
}
.note {
  background: var(--surface);
  padding: 18px 20px;
  border-radius: var(--radius);
  font-size: 0.9rem;
}
.prompt {
  background: var(--tint);
  padding: 22px 24px;
  margin-bottom: 24px;
  border-radius: var(--radius);
}
.prompt p {
  color: var(--ink);
  margin-bottom: 16px;
}
.tools {
  margin: 24px 0;
}
.tools > div {
  padding: 12px 0;
}
dt {
  color: var(--ink);
  font-weight: 650;
  margin-bottom: 10px;
}
dd {
  margin: 0;
  color: var(--muted);
}
details {
  padding: 12px 0;
}
summary {
  cursor: pointer;
  font-weight: 550;
  color: var(--ink);
  padding-right: 12px;
}
summary:hover {
  color: var(--accent);
}
details p {
  margin: 16px 0 0;
  font-size: 0.95rem;
  color: var(--muted);
}
.skip {
  position: absolute;
  left: 16px;
  top: -80px;
  padding: 12px;
  background: var(--white);
  z-index: 2;
}
.skip:focus {
  top: 8px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
@media (max-width: 700px) {
  .token-fields {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .masthead {
    padding: 16px 20px;
  }
  .brand img {
    width: 112px;
    height: 39px;
  }
  .brand span {
    font-size: 0.85rem;
  }
  .brand {
    gap: 16px;
  }
  .version {
    font-size: 0.75rem;
  }
  .layout {
    padding: 28px 20px 48px;
  }
  section {
    margin-top: 48px;
  }
  h2 {
    font-size: 1.55rem;
  }
  .endpoint {
    padding: 14px;
  }
  .endpoint > code {
    font-size: 0.8rem;
  }
  .code-heading {
    gap: 8px;
  }
  .code-block {
    padding: 12px;
  }
  .prompt {
    padding: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  :root {
    scroll-behavior: auto;
  }
}
