/* One reading surface: public commentary, compact tools, then answer. */
html:root body #msgs .conversation-stream{background:none;border:0;box-shadow:none;padding:0;margin:0 0 20px;max-width:100%;font-family:var(--font-ui, -apple-system,BlinkMacSystemFont,"PingFang SC",sans-serif)}
html:root body #msgs{overflow-anchor:none;scroll-behavior:auto!important}
html:root body #msgs .conversation-process{border:0;background:none;padding:0;margin:0;box-shadow:none}
html:root body #msgs .conversation-run-state{display:flex;align-items:center;gap:8px;font-size:12px;color:#707782;line-height:24px;margin:0;cursor:pointer;list-style:none;width:fit-content}
html:root body #msgs .conversation-run-state small{font:inherit;color:#8a8f96;margin-left:4px}
html:root body #msgs .conversation-run-state::-webkit-details-marker{display:none}
html:root body #msgs .conversation-process-body{padding:4px 0 0 0}
html:root body #msgs .conversation-live-dot{width:5px;height:5px;border-radius:50%;background:currentColor;flex:none}
html:root body #msgs .is-live .conversation-live-dot{animation:conversation-breathe 1.8s ease-in-out infinite}
html:root body #msgs .conversation-commentary{font-size:14px;line-height:1.8;color:#616873;white-space:pre-wrap;margin:14px 0;max-width:100%;overflow-wrap:anywhere}
html:root body #msgs .conversation-commentary>p{font:inherit;line-height:inherit;margin:8px 0;white-space:normal}
html:root body #msgs .conversation-commentary :is(h1,h2,h3,h4){font-family:inherit;font-size:14px;line-height:1.8;font-weight:500;color:inherit;margin:10px 0 6px}
html:root body #msgs .conversation-commentary :is(ul,ol){margin:6px 0;padding-left:22px;white-space:normal}
html:root body #msgs .conversation-tool{border:0;border-radius:0;background:none;box-shadow:none;margin:10px 0;padding:0;font-size:13px;color:#777c84}
html:root body #msgs .conversation-tool>summary{display:flex;align-items:center;gap:8px;cursor:pointer;list-style:none;width:fit-content;max-width:100%;padding:4px 0;line-height:22px;font-weight:400}
html:root body #msgs .conversation-tool>summary::-webkit-details-marker{display:none}
html:root body #msgs .conversation-tool>summary:hover{color:#252b34}
html:root body #msgs .conversation-tool>summary:focus-visible{outline:2px solid #376cff;outline-offset:4px;border-radius:4px}
html:root body #msgs .conversation-operation-icon{display:block;width:16px;height:16px;stroke-width:1.65;flex:none;color:currentColor}
html:root body #msgs summary>.conversation-operation-icon:last-child{width:12px;height:12px;transition:transform 160ms ease}
html:root body #msgs details:not([open])>summary>.conversation-operation-icon:last-child{transform:rotate(-90deg)}
html:root body #msgs .conversation-tool-results{padding:0}
html:root body #msgs .conversation-operation{display:flex;align-items:flex-start;gap:8px;padding:3px 0;line-height:22px;font-size:13px;color:#777c84;overflow-wrap:anywhere}
html:root body #msgs .conversation-operation>.conversation-operation-icon{margin-top:3px}
html:root body #msgs .conversation-operation>span{min-width:0}
html:root body #msgs .conversation-tool-description{font-size:11px;color:#8a8f96;margin-left:8px;white-space:nowrap}
html:root body #msgs .conversation-operation.is-pending>.conversation-operation-icon{animation:conversation-breathe 1.8s ease-in-out infinite}
html:root body #msgs .chat-answer:empty{display:none}
html:root body #msgs .msg.is-running .chat-answer{min-height:0}
html:root body #msgs .msg.is-running.is-refreshing,html:root body #msgs .chat-answer.is-streaming-update{animation:none;opacity:1;transform:none}
@keyframes conversation-breathe{50%{opacity:.35}}
@media(prefers-reduced-motion:reduce){html:root body #msgs .conversation-live-dot,html:root body #msgs .conversation-operation-icon{animation:none!important;transition:none!important}}
