/* Shared public-page tools. Keep the page, rather than the providers, prominent. */
.ai-page-tools{position:relative;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:6px 18px;margin-top:28px;color:var(--muted);font-size:13px;line-height:1.5;font-weight:400;letter-spacing:0;text-align:center}
.ai-tools-label{font-size:10px;font-weight:600;letter-spacing:.14em;text-transform:uppercase}
.ai-provider-links,.ai-markdown-actions{display:flex;align-items:center;justify-content:center;gap:16px}
.ai-page-tools a,.ai-page-tools button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:40px;padding:2px 0;white-space:nowrap;color:var(--muted);transition:color .15s ease}
.ai-page-tools button{border:0;background:none;font:inherit;cursor:pointer}
.ai-page-tools a:hover,.ai-page-tools button:hover{color:var(--ink)}
.ai-page-tools a:focus-visible,.ai-page-tools button:focus-visible{border-radius:3px;outline:2px solid var(--focus);outline-offset:5px}
.ai-page-tools button:disabled{cursor:wait;opacity:.6}
.ai-page-tools svg{width:17px;height:17px}
.ai-page-tools .ai-provider-icon{fill:currentColor;stroke:none;opacity:.85}
.ai-provider-chatgpt .ai-provider-icon{color:#159778}
.ai-provider-claude .ai-provider-icon{color:#cc785c}
.ai-provider-perplexity .ai-provider-icon{color:#248e9c}
.ai-tools-divider{height:14px;width:1px;background:var(--line)}
.ai-page-tools .ai-tools-feedback{position:absolute;top:100%;left:0;width:100%;font-size:12px;line-height:1.5;letter-spacing:0;color:var(--muted);pointer-events:none}
.ai-tools-after-content{padding-bottom:54px}
.hero>.ai-page-tools{margin-top:28px}
.hero>.ai-page-tools+.demo{margin-top:48px}
.guide-article header .ai-page-tools{justify-content:flex-start;text-align:left}
@media(max-width:620px){
 .ai-page-tools{max-width:100%;gap:0 12px;font-size:12px;margin-top:24px}
 .ai-tools-label{flex-basis:100%;margin-bottom:2px}
 .ai-provider-links{gap:16px}
 .ai-markdown-actions{flex-basis:100%;gap:20px}
 .ai-tools-divider{display:none}
 .ai-page-tools a,.ai-page-tools button{min-height:44px}
 .guide-article header .ai-page-tools{justify-content:center;text-align:center}
 .hero>.ai-page-tools+.demo{margin-top:36px}
}
@media(prefers-reduced-motion:reduce){.ai-page-tools a,.ai-page-tools button{transition:none}}
