/* /agents: copy-ready setups for AI apps */
.agents .lede { max-width: 62ch; }
.agents .snip { position: relative; min-width: 0; display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 14px; border-radius: var(--r);
                background: var(--card); border: 1px solid var(--line-strong); box-shadow: var(--sh-1); }
.agents .snip.link { max-width: 560px; margin-top: var(--s4); }
.agents .snip code, .agents .snip pre { flex: 1; min-width: 0; margin: 0; font: 13.5px/1.55 var(--mono); color: var(--ink); overflow-x: auto; }
.agents .snip code, .agents .snip pre { white-space: pre-wrap; overflow-wrap: anywhere; }   /* wraps; Copy takes the text as it is */
.agents .snip .btn { flex: none; height: 36px; padding: 0 14px; font-size: 13.5px; }
.agents .apps { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(420px, 100%), 1fr)); gap: var(--s3); }
.agents .app { min-width: 0; padding: 16px; border-radius: var(--r-lg); background: var(--sunk); border: 1px solid var(--line); }
.agents .app h3 { margin: 0 0 4px; font-size: var(--t-md); font-weight: 680; letter-spacing: -.01em; }
.agents .app p { margin: 0 0 10px; color: var(--muted); font-size: 14px; }
.agents .app .snip { align-items: flex-start; }
.agents .asks { display: grid; gap: 10px; }
.agents .small { margin-top: var(--s3); color: var(--muted); font-size: 14px; }
@media (max-width: 480px) { .agents .apps { grid-template-columns: 1fr; } }

/* The one prompt to paste into an AI agent */
.prompt-card { display: flex; flex-direction: column; gap: 14px; margin-top: var(--s4); padding: 16px; border-radius: var(--r-xl);
               background: var(--card); border: 1px solid var(--line-strong); box-shadow: var(--sh-2); }
.prompt-card pre { margin: 0; max-height: 300px; overflow: auto; padding: 14px 16px; border-radius: var(--r); background: var(--sunk); border: 1px solid var(--line);
                   font: 13px/1.6 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; white-space: pre-wrap; word-break: break-word; }
.prompt-card .btn.big { align-self: stretch; justify-content: center; }
.or-link { margin-top: var(--s4); color: var(--muted); font-size: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.or-link code { font-size: 13px; padding: 4px 8px; border-radius: 8px; background: var(--soft); color: var(--ink); word-break: break-all; }
.or-link .btn { min-height: 34px; padding: 0 12px; font-size: 13px; }

/* One card per AI: its logo, where to paste, the prompt, Copy */
.agent-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.agent { display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: var(--r-xl); background: var(--card); border: 1px solid var(--line); box-shadow: var(--sh-1); }
.agent header { display: flex; align-items: center; gap: 11px; }
.agent h3 { margin: 0; font-size: 16px; font-weight: 680; letter-spacing: -.01em; }
.agent .logo-tile { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 12px; background: #fff; border: 1px solid var(--line-strong); color: var(--ink); }
.agent .logo-tile img, .agent .logo-tile svg { width: 26px; height: 26px; }
.agent p { margin: 0; font-size: 13px; color: var(--muted); }
.agent pre { flex: 1; margin: 0; max-height: 210px; overflow: auto; padding: 12px 13px; border-radius: var(--r); background: var(--sunk); border: 1px solid var(--line);
             font: 12px/1.55 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; white-space: pre-wrap; word-break: break-word; }
.agent .btn { justify-content: center; }
.agent details.mcp { border-top: 1px solid var(--line); padding-top: 10px; display: flex; flex-direction: column; gap: 8px; }
.agent details.mcp summary { cursor: pointer; font-size: 13px; font-weight: 640; color: var(--muted); list-style: none; }
.agent details.mcp summary::-webkit-details-marker { display: none; }
.agent details.mcp summary::before { content: "+ "; }
.agent details.mcp[open] summary::before { content: "− "; }
.agent details.mcp[open] { gap: 10px; }
.agent details.mcp .btn { width: 100%; justify-content: center; }

/* One prompt for every AI, then who it works with */
.agents .prompt-card pre { max-height: 360px; }
.agents h2.works { margin: var(--s6) 0 var(--s3); font-size: var(--t-md); }
.works-with { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.works-with li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); font-size: 14px; font-weight: 620; }
.works-with .logo-tile { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 11px; background: #fff; border: 1px solid var(--line-strong); color: var(--ink); }
.works-with .logo-tile img, .works-with .logo-tile svg { width: 24px; height: 24px; }
