.ai-guide .guide-example { margin: 18px 0; padding: 18px; background: var(--freeify-raised); border-left: 2px solid var(--freeify-gold); }
.ai-guide .guide-example strong { display: block; color: var(--freeify-gold); margin-bottom: 8px; }
.ai-guide .guide-example p { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.ai-guide .guide-fit { color: var(--freeify-muted); }
.ai-guide .guide-fit strong { color: var(--freeify-text); }
.ai-guide .guide-source-links { margin-bottom: 4px; }
.ai-guide .guide-source-links a { overflow-wrap: anywhere; }
.ai-guide #guide:focus-visible { outline: 2px solid var(--freeify-gold); outline-offset: 5px; }

.ai-guide details{border:1px solid var(--freeify-line);padding:12px 16px;margin:14px 0;min-width:0;}
.ai-guide summary{font-weight:700;min-height:44px;cursor:pointer;display:list-item;padding-block:8px;}
.ai-guide :is(p,li,small,summary){overflow-wrap:anywhere;}
.ai-guide .ai-meta{color:var(--freeify-muted);font-size:.9rem;}
.ai-guide .ai-warning{border-left:3px solid var(--freeify-gold);padding-left:14px;}
.ai-guide :is(button,a,summary,[tabindex]):focus-visible{outline:3px solid var(--freeify-focus);outline-offset:4px;}
@media(max-width:760px){
 body[data-studio="guide"] .tool-return-header{grid-template-columns:minmax(0,1fr) auto;grid-template-rows:48px 44px;grid-template-areas:"brand theme" "return return";height:132px;min-height:132px;gap:8px 12px;padding:12px 16px;box-sizing:border-box;}
 body[data-studio="guide"] .tool-return-header .freeify-brand{grid-area:brand;justify-self:start;align-items:flex-start;text-align:left;min-width:0;max-width:100%;font-size:20px;}
 body[data-studio="guide"] .tool-return-header .freeify-brand small{white-space:normal;overflow-wrap:anywhere;font-size:12px;}
 body[data-studio="guide"] .tool-return-header .freeify-theme-slot{grid-area:theme;justify-self:end;}
 body[data-studio="guide"] .tool-return-header .theme-current{display:none;}
 body[data-studio="guide"] .tool-return-header .back{grid-area:return;justify-self:start;max-width:100%;white-space:normal;box-sizing:border-box;}
 body[data-studio="guide"] .skip-link:focus{top:146px;}
 .ai-guide{padding-top:152px;}
 .ai-guide #guide{scroll-margin-top:156px;}
}
.ai-guide #guide-title:focus-visible{outline:3px solid var(--freeify-focus);outline-offset:4px;}
