html:root body .ag214-panel{min-width:0;max-width:100%;padding:10px 0;color:#365942}
html:root body .lxc>.ag214-panel{margin:0 22px;padding:8px 0;flex-shrink:0}
html:root body .ag214-pick,html:root body .ag214-report{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:38px;max-width:100%;height:auto;padding:9px 14px;border:1px solid #c8dcba;border-radius:12px;background:#f8fcf2;color:#285238;font-family:inherit;font-size:13px;font-weight:600;line-height:1.4;cursor:pointer;white-space:normal}
html:root body .ag214-pick:hover:enabled{background:#edf7df;border-color:#99bc7b}
html:root body .ag214-pick:focus-visible{outline:2px solid #578a40;outline-offset:3px}
html:root body .ag214-pick:disabled{opacity:.6;cursor:wait}
html:root body .ag214-hint{font-size:11px;line-height:1.5;margin:6px 0 0;color:#72826c}
html:root body .ag214-status{font-size:12px;line-height:1.6;margin:8px 0;overflow-wrap:anywhere}
html:root body .ag214-panel details{font-size:12px;line-height:1.5}
html:root body .ag214-panel summary{cursor:pointer;padding:4px 0}
html:root body .ag214-panel ul{padding:0 0 0 18px;margin:8px 0;max-height:150px;overflow:auto;overflow-wrap:anywhere}
html:root body .ag214-panel li{margin:5px 0}
html:root body .ag214-panel [hidden]{display:none!important}
@media(max-width:600px){html:root body .lxc>.ag214-panel{margin:0 14px}}
html[data-theme=dark] body .ag214-pick,html[data-theme=dark] body .ag214-report{background:#203728;color:#e2eed9;border-color:#486c3c}
html[data-theme=dark] body .ag214-panel{color:#d6e6cc}

html:root body .lxc:not(.is-max)>.ag214-panel{display:none}

/* Keep attachments inside the composer: visible beside the conversation, never below it. */
html:root body .lxc.is-max .lxc-form>.ag217-chat-attachments{grid-column:1/-1;grid-row:3;margin:7px 0 0;padding:10px 0 0;border-top:1px solid #e4ecdf;display:flex;align-items:center;gap:7px 10px;flex-wrap:wrap;min-width:0;max-height:190px;overflow:auto}
html:root body .lxc:not(.is-max) .ag217-chat-attachments{display:none}
html:root body .ag214-pick svg{flex:none;width:18px;height:18px}
html:root body .ag217-chat-attachments .ag214-pick{border-radius:11px;padding:7px 10px;min-height:34px;box-shadow:none;font-size:12px;background:#f5faee}
html:root body .ag217-chat-attachments .ag214-hint{margin:0;font-size:10px}
html:root body .ag217-references{display:flex;gap:6px;flex-wrap:wrap;flex-basis:100%;min-width:0;max-height:76px;overflow:auto}
html:root body .ag217-file{display:block;max-width:100%;padding:5px 9px;border:1px solid #d9e7cf;background:#f3f9eb;border-radius:8px;font-size:11px;line-height:1.5;color:#30593b;overflow-wrap:anywhere}
html:root body .ag217-reference-note{font-size:10px;line-height:1.5;color:#67805f;margin:0;flex-basis:100%}
html:root body .ag217-chat-attachments .ag214-status,html:root body .ag217-chat-attachments details{flex-basis:100%;margin:0;font-size:11px}
html[data-theme=dark] body .ag217-file,html[data-theme=dark] body .ag217-chat-attachments .ag214-pick{background:#203728;color:#e2eed9;border-color:#486c3c}
