/* Agent setup guide (/connect-agent): additions to information.css, on the shared tokens. */
html {
  scroll-behavior: smooth;
}
article {
  scroll-margin-top: 24px;
}
article + article {
  border-top: 1px solid var(--pv-line);
  margin-top: 48px;
  padding-top: 24px;
}
.section-title {
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
}
h3 {
  margin-top: 32px;
}
li + li {
  margin-top: 12px;
}
label {
  display: block;
  margin-top: 10px;
  font-weight: 700;
}
textarea {
  width: 100%;
  display: block;
  margin: 8px 0 12px;
  padding: 12px;
  border: 1px solid var(--pv-line-strong);
  border-radius: var(--pv-radius-sm);
  background: var(--pv-surface);
  color: var(--pv-ink);
  font: inherit;
  font-family: var(--pv-font-mono);
  font-size: 0.92rem;
  line-height: 1.55;
  resize: vertical;
  transition: border-color var(--pv-duration-fast) var(--pv-ease-out);
}
textarea:hover {
  border-color: var(--pv-ink-2);
}
textarea:focus-visible {
  border-color: var(--pv-focus);
}
button {
  border: 0;
  border-radius: var(--pv-radius-sm);
  padding: 10px 18px;
  background: var(--pv-accent);
  color: var(--pv-accent-ink);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition:
    background-color var(--pv-duration-fast) var(--pv-ease-out),
    transform var(--pv-duration-instant) var(--pv-ease-out);
}
@media (hover: hover) {
  button:hover {
    background: var(--pv-accent-hover);
  }
}
button:active {
  background: var(--pv-accent-hover);
  transform: scale(var(--pv-press-scale));
}
button:focus-visible,
a:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--pv-focus);
  outline-offset: 3px;
}
[role="status"] {
  display: block;
  margin-top: 6px;
  color: var(--pv-ok);
  font-weight: 600;
}
[role="status"]:not(:empty) {
  animation: pv-rise-in var(--pv-duration) var(--pv-ease-spring) both;
}
@keyframes pv-rise-in {
  from {
    opacity: 0;
    transform: translateY(calc(var(--pv-motion-rise) / 2));
  }
}
code {
  padding: 1px 6px;
  border-radius: var(--pv-radius-sm);
  background: var(--pv-surface-2);
  font-family: var(--pv-font-mono);
  font-size: 0.9em;
  overflow-wrap: anywhere;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
