/* B71: user-controlled, per-message memory consent alongside the Builder composer. */
.agent-brain-consent{
 display:flex;align-items:center;gap:10px;padding:7px 11px 3px;
 font-size:12px;line-height:1.35;font-weight:720;
 color:inherit;cursor:pointer
}
.agent-brain-consent input{
 flex:none;inline-size:17px;block-size:17px;accent-color:#ef5779;
 margin:0
}
.agent-brain-consent input:disabled+span{opacity:.55}
.agent-brain-consent:has(input:disabled){cursor:not-allowed}
/* One line: the choice, what it may cost, and an "i" for the whole explanation. */
.agent-brain-consent-row{display:flex;align-items:center;gap:2px;min-width:0}
.agent-brain-consent-row .agent-brain-consent{flex:0 1 auto;min-width:0}
.agent-brain-consent-cost{font-weight:520;opacity:.72;white-space:nowrap}
.agent-brain-consent-cost::before{content:"· "}
#editorComposerForm .agent-brain-consent-more{
 flex:none;display:grid;place-items:center;inline-size:20px;block-size:20px;min-height:0;
 margin:4px 0 0;padding:0;border:1px solid color-mix(in srgb,currentColor 34%,transparent)!important;
 border-radius:50%;background:transparent;color:inherit;opacity:.8;box-shadow:none;
 font:italic 700 11px/1 Georgia,"Times New Roman",serif;cursor:pointer
}
#editorComposerForm .agent-brain-consent-more:hover,#editorComposerForm .agent-brain-consent-more[aria-expanded=true]{opacity:1;border-color:#ef7490!important;color:#ff8fb0}
#editorComposerForm .agent-brain-consent-more:focus-visible{outline:2px solid #ef7490!important;outline-offset:2px}
[data-theme=light] #editorComposerForm .agent-brain-consent-more:hover,[data-theme=light] #editorComposerForm .agent-brain-consent-more[aria-expanded=true]{border-color:#b62750!important;color:#b62750}
.agent-brain-consent-help{
 font-size:11px;line-height:1.45;opacity:.75;
 margin:2px 12px 8px
}
.agent-brain-consent-help[hidden]{display:none}
.agent-brain-consent:focus-within{
 outline:2px solid #ef7490;outline-offset:1px;border-radius:6px
}
[data-theme=light] .agent-brain-consent input{accent-color:#b62750}
@media(max-width:660px){
 .agent-brain-consent{padding-block:9px 5px;min-height:42px}
}
@media(prefers-reduced-motion:reduce){
 .agent-brain-consent *{transition:none!important}
}
