/* Compact, copyable briefs before their diagrams. */
.agent-prompt{--brief-ink:#173f32;--brief-paper:#edf3dc;--brief-rule:#c4d5af;--brief-accent:#d7ed9d;margin:18px 0 10px;padding:0 16px 8px;background:var(--brief-paper);border:1px solid var(--brief-rule);border-radius:8px;color:var(--brief-ink);min-width:0;max-width:100%}
.prompt-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 -16px 8px;padding:4px 16px;border-bottom:1px solid var(--brief-rule)}
.agent-prompt .prompt-title{margin:0;font-family:inherit;font-size:13px;font-weight:700;line-height:1.4;letter-spacing:0;text-wrap:initial}.agent-prompt .prompt-provenance{margin:0 0 5px;font-size:11px;font-weight:600;color:inherit}.prompt-disclosure{border:0;margin:0;font-size:inherit}.prompt-disclosure>summary{list-style:none;cursor:pointer;display:block;padding:0;color:inherit;min-height:44px}.prompt-disclosure>summary::-webkit-details-marker{display:none}.prompt-preview{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font-size:14px;font-weight:400;line-height:1.5;max-width:85ch;text-wrap:pretty}.prompt-expand{display:flex;align-items:center;gap:7px;width:max-content;min-height:44px;font-size:12px;font-weight:600;margin-top:0}.prompt-expand:before{content:'+';display:grid;place-items:center;width:18px;height:18px;background:var(--brief-accent);font-size:16px;line-height:1}.prompt-open{display:none}.prompt-disclosure[open] .prompt-closed,.prompt-disclosure[open] .prompt-preview{display:none}.prompt-disclosure[open] .prompt-open{display:inline}.prompt-disclosure[open] .prompt-expand:before{content:'−'}.prompt-disclosure[open] .prompt-expand{margin-bottom:4px}.prompt-disclosure>summary:hover .prompt-expand{text-decoration:underline;text-underline-offset:4px}.prompt-disclosure>summary:focus-visible{outline:3px solid currentColor;outline-offset:3px}
.agent-prompt pre[data-prompt-text]{white-space:pre-wrap;overflow-wrap:anywhere;font-family:inherit;font-size:14px;font-weight:400;line-height:1.6;max-width:85ch;max-height:none;padding:0;background:transparent;border:0;margin:0 0 8px;color:inherit}.prompt-copy-status{font-size:12px;line-height:1.5;margin:6px 0 0}.prompt-copy-status:empty{display:none}
[data-copy-prompt]{border:1px solid var(--brief-ink,currentColor);border-radius:4px;background:var(--brief-ink,#173f32);color:var(--brief-paper,#edf3dc);padding:6px 10px;min-height:44px;font-family:inherit;font-weight:600;font-size:12px;line-height:1.4;cursor:pointer;white-space:nowrap}[data-copy-prompt]:hover{filter:brightness(1.15)}[data-copy-prompt]:disabled{opacity:.65;cursor:wait}[data-copy-prompt]:focus-visible{outline:3px solid var(--brief-ink,currentColor);outline-offset:3px}[data-copy-prompt][hidden]{display:none}
.diagram-step{font-size:13px!important;font-weight:700!important;color:var(--green,#253bd5);margin:16px 0 10px!important;line-height:1.5}.example-row>.agent-prompt,.example-row>.diagram-step{grid-column:1/-1}.example-row>.agent-prompt{margin-top:0}.example-row>.diagram-step{margin-bottom:-16px!important}.prompt-included{display:block;font-size:13px;font-weight:650;color:var(--green,#145d48);margin-top:12px}.showcase>[role=tabpanel]>.agent-prompt{margin:12px}.showcase>[role=tabpanel]>.diagram-step{margin-left:14px!important}.studio-prompt{--brief-ink:#242da1;--brief-paper:#e8e6fa;--brief-rule:#c2bdea;--brief-accent:#d2c8f5;max-width:100%}.prompt-first-workspace{grid-template-columns:minmax(0,1fr)!important}.studio-prompt .prompt-title{font-family:var(--body,inherit)}
@media(max-width:560px){.agent-prompt{padding:0 12px 6px;margin:16px 0 10px}.prompt-toolbar{margin:0 -12px 8px;padding:4px 12px;gap:10px}.example-row>.diagram-step{margin-bottom:0!important}}
