/* "Try it" setup block on articles (scripts/lib/agent-setup.mjs). Self-contained:
   articles load neither works-with.css nor its variables. */
.agent-setup{max-width:660px;--as-ink:#020618;--as-orange:#ff563f;--as-line:#90a1b9;--as-mono:"Azeret Mono","Azeret Mono Fallback","SFMono-Regular",Consolas,monospace;margin:56px 0 0;padding:32px 0 0;border-top:1px solid var(--as-ink);color:var(--as-ink);scroll-margin-top:96px}
.agent-setup h2{margin:0;font-family:var(--as-mono);font-size:clamp(24px,3vw,32px);line-height:1.2;letter-spacing:0}
.agent-setup .as-intro{margin:14px 0 22px;font-size:18px;line-height:1.6}
.agent-setup .code{margin:0;border:1px solid var(--as-orange);background:#141414;color:#ececec;box-shadow:6px 6px 0 var(--as-orange)}
.agent-setup .code-head{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;padding:0 6px 0 14px;border-bottom:1px solid #2c2c2c;color:#ececec;font-family:var(--as-mono);font-size:12px;font-weight:700}
.agent-setup .code-copy{min-width:64px;min-height:44px;padding:6px 14px;border:1px solid #4a4a4a;background:transparent;color:#ececec;font-family:var(--as-mono);font-size:12px;font-weight:700;cursor:pointer}
.agent-setup .code-copy:hover{border-color:var(--as-orange);color:var(--as-orange)}
.agent-setup:not(.as-js) .code-copy{display:none}
.agent-setup .agent-prompt{margin:0;padding:14px;background:#141414;color:#ececec;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:13px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}
.agent-setup .agent-prompt:focus-visible{outline:3px solid var(--as-orange);outline-offset:-3px}
.agent-setup .agent-foot{max-width:none;margin:0;padding:10px 14px 12px;border-top:1px solid #2c2c2c;color:#b5b5b5;font-size:14px;line-height:1.5}
.agent-setup .agent-foot a{display:flex;align-items:center;width:fit-content;min-height:44px;margin-bottom:-8px;color:#ececec;font-family:var(--as-mono);font-size:13px;font-weight:700;text-underline-offset:4px}
.agent-setup .agent-foot a:hover{color:var(--as-orange)}
.as-tools{display:flex;flex-wrap:wrap;gap:10px;margin-top:28px}
.as-tool{display:inline-flex;align-items:center;gap:10px;min-height:44px;padding:6px 14px 6px 6px;border:1px solid var(--as-line);background:#fff;color:var(--as-ink);font-family:var(--as-mono);font-size:14px;text-decoration:none}
.as-tool:hover{border-color:var(--as-ink)}
.as-tool--all{padding-left:14px}
.as-tool .ww-tile{display:inline-grid;place-items:center;width:32px;height:32px;border:1px solid var(--as-ink);border-radius:8px;background:#fff}
.as-tool .ww-tile--dark{background:var(--as-ink)}
.as-tool .ww-tile img{display:block;width:22px;height:22px;object-fit:contain}
