/* MAX: consistent download actions, isolated from document processing. */
html:root body .lxc.is-max .lxc-max-foot .lxc-max-actions{
 display:flex;flex-wrap:wrap;align-items:stretch;gap:10px;margin-top:16px;
}
html:root body .lxc.is-max .lxc-max-foot .lxc-max-actions>button{
 display:inline-flex;align-items:center;justify-content:center;gap:9px;
 box-sizing:border-box;min-height:46px;height:auto;margin:0;padding:12px 17px;
 border:1px solid #d5e2d1;border-radius:14px;background:rgba(255,255,255,.88);
 color:#345440;font-family:inherit;font-size:13px;font-weight:600;line-height:1.45;
 letter-spacing:-.01em;text-align:center;white-space:normal;max-width:100%;
 box-shadow:0 1px 2px #163b2410,inset 0 1px 0 #ffffffc0;
 transition:background .18s ease,border-color .18s ease,box-shadow .18s ease,transform .18s ease;
}
html:root body .lxc.is-max .lxc-max-foot .lxc-max-actions>button:hover:enabled{
 background:#f4f9ef;border-color:#a4c392;box-shadow:0 3px 9px #214d3014;transform:translateY(-1px);
}
html:root body .lxc.is-max .lxc-max-foot .lxc-max-actions>button:active:enabled{
 transform:translateY(0);box-shadow:0 1px 2px #214d3014;
}
html:root body .lxc.is-max .lxc-max-foot .lxc-max-actions>button:focus-visible{
 outline:2px solid #628e48;outline-offset:3px;
}
html:root body .lxc.is-max .lxc-max-foot .lxc-max-actions>button:disabled{
 opacity:.46;cursor:default;box-shadow:none;transform:none;
}
html:root body .lxc.is-max .lxc-max-foot .lxc-max-actions>.ag205-chat-all{
 background:linear-gradient(180deg,#256748,#194d36);border-color:#235a40;color:#fff;
 box-shadow:0 3px 8px #173e2424,inset 0 1px 0 #ffffff24;
}
html:root body .lxc.is-max .lxc-max-foot .lxc-max-actions>.ag205-chat-all:hover:enabled{
 background:linear-gradient(180deg,#2e7553,#215c41);border-color:#306c4a;box-shadow:0 5px 12px #173e2428;
}
html:root body .lxc.is-max .lxc-max-actions>:is(.ag205-chat-all,.lxc-max-download)::before{
 content:"";display:block;flex:0 0 17px;width:17px;height:17px;background:currentColor;
 -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12m-4-4 4 4 4-4M5 15v5h14v-5'/%3E%3C/svg%3E") center/contain no-repeat;
 mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12m-4-4 4 4 4-4M5 15v5h14v-5'/%3E%3C/svg%3E") center/contain no-repeat;
}
html:root body .lxc.is-max .lxc-max-actions:has(.lxc-max-download)>button:last-child:not(.lxc-max-download):not(.ag205-chat-all)::before{
 content:"";display:block;flex:0 0 17px;width:17px;height:17px;background:currentColor;
 -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H6v18h12V7l-4-4Zm0 0v5h4M9 12h6m-6 4h6'/%3E%3C/svg%3E") center/contain no-repeat;
 mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H6v18h12V7l-4-4Zm0 0v5h4M9 12h6m-6 4h6'/%3E%3C/svg%3E") center/contain no-repeat;
}
@media(max-width:760px){
 html:root body .lxc.is-max .lxc-max-foot .lxc-max-actions{gap:8px;margin-top:12px}
 html:root body .lxc.is-max .lxc-max-foot .lxc-max-actions>button{flex:1 1 auto;font-size:12px;padding:11px 12px}
 html:root body .lxc.is-max .lxc-max-foot .lxc-max-actions>.ag205-chat-all{flex-basis:100%}
}
html[data-theme=dark] body .lxc.is-max .lxc-max-foot .lxc-max-actions>button{
 background:#234637;border-color:#4b6b55;color:#e2eddd;
}
html[data-theme=dark] body .lxc.is-max .lxc-max-foot .lxc-max-actions>button:hover:enabled{background:#30533f}
@media(prefers-reduced-motion:reduce){
 html:root body .lxc.is-max .lxc-max-foot .lxc-max-actions>button{transition:none;transform:none!important}
}
