@import "https://assets.elements.dev/assets/app/shared/styles/copy-button.4005522412d456b5.css";

.demo-try {
  margin: var(--space-20) 0;
}

.demo-try-h {
  margin: 0 0 var(--space-4);
  font-size: var(--text-xl);
}


.demo-try-lede {
  margin: calc(-1 * var(--space-1)) 0 var(--space-5);
  color: var(--ink-soft);
}

.demo-try-how {
  margin-top: var(--space-10);
}


.demo-try-agents {
  margin-top: 0;
  padding-top: var(--space-6);
  border-top: 1px solid var(--rule);
}

.demo-try-agents-h {
  margin: 0 0 var(--space-3);
  font-size: var(--text-sm);
  color: var(--ink-soft);
}

.demo-try-agents-list {
  margin: 0;
  padding-left: 1.25em;
  display: grid;
  gap: var(--space-2);
}

.demo-try-agents-list li::marker { color: var(--ink-dim); }

.demo-try-agents-list a {
  color: var(--accent);
  font-weight: var(--weight-medium);
  text-decoration: none;
}
.demo-try-agents-list a:hover { color: var(--link-hover); }

.demo-try-rec {
  margin-left: var(--space-2);
  font-size: var(--text-sm);
  color: var(--ink-dim);
}

.demo-try-note {
  margin: var(--space-4) 0 0;
  font-size: var(--text-sm);
  color: var(--ink-dim);
}

/* The prompt path carries the whole prompt, which can run to pages. It
   wraps rather than scrolling sideways, and stops at a height. */
.ip-pill-box.demo-try-long { max-height: 22rem; overflow-y: auto; }
.ip-pill-box.demo-try-long .ip-text {
  white-space: pre-wrap;
  -webkit-mask-image: none;
          mask-image: none;
}



.demo-try .ip-agent {
  position: relative;
}

.demo-try .ip-agent .copy-btn {
  top: var(--space-5);
  right: var(--space-5);
  color: var(--white, #fff);
  opacity: 0.8;
}

.demo-try .ip-pill-box {
  padding-right: var(--space-10);
}

/* /start's steps, smaller: two of them, inside a long page. */
.demo-try .st-list {
  margin-bottom: 0;
}

.demo-try .st-title {
  font-size: 1.25rem;
}

.demo-try .dt-where {
  margin: 0 0 var(--space-8);
}

.demo-try .dt-help {
  margin-top: var(--space-10);
}

.demo-try-tabs {
  margin: 0 0 var(--space-6);
}

/* The numbered parts of the VS Code path, each with its own box under it. */
.demo-try-steps {
  margin: 0;
  padding-left: 1.25rem;
  display: grid;
  gap: var(--space-3);
}

/* Lines of text sit as close as a list's; a part with a box or a screenshot
   under its line gets room after it. */
.demo-try-steps p {
  margin: 0;
}

.demo-try .demo-try-steps p + :not(p) {
  margin-top: var(--space-3);
}

.demo-try-steps li:has(> :not(p)):not(:last-child) {
  margin-bottom: var(--space-5);
}

/* The guide's three steps, as headings over their parts. */
.demo-try-step {
  margin: var(--space-10) 0 var(--space-3);
  font-size: 1.125rem;
  font-weight: var(--weight-bold);
  line-height: 1.3;
  color: var(--ink);
}

.demo-try-tabs + div > .demo-try-step:first-child {
  margin-top: 0;
}

/* The line that says what happened, under a box or a screenshot. */
.demo-try-steps li > :not(p) + p,
.demo-try .lesson-prompt + p {
  margin: var(--space-4) 0 0;
}

/* The box brings its own margins; under its line it sits as close as the
   install command does. */
.demo-try .lesson-prompt {
  margin: 0;
}

/* The section's own closing line, on the headings' left edge. A rule sets
   it off from the last step, whose text is indented under its number. */
.demo-try-guide {
  margin: var(--space-10) 0 0;
  padding-top: var(--space-6);
  border-top: 1px solid var(--rule);
}
