#research-dialog{width:min(720px,calc(100vw - 32px));box-sizing:border-box;max-height:calc(100dvh - 32px);padding:24px;overflow:auto;background:#fffdf9;color:#51463a}
#research-dialog header{display:flex;justify-content:space-between;align-items:center;gap:16px}#research-dialog h2{font-size:20px;margin:0}#research-dialog h3{font-size:14px;margin:8px 0}
#research-dialog label{display:block;font-size:13px;margin:16px 0 8px}#research-dialog input:not([type=checkbox]),#research-dialog textarea{display:block;width:100%;box-sizing:border-box;padding:10px;margin-top:8px;border:1px solid #d7cabc;border-radius:8px;background:#fffdf9;color:inherit;font:inherit}
#research-dialog .research-toggle{display:flex;gap:8px;align-items:flex-start;line-height:1.6}#research-enabled{width:16px;height:16px;flex:none;margin:4px 0}
#research-dialog button{font:inherit;font-size:12px;padding:8px 12px;border:1px solid #d7cabc;border-radius:8px;background:#faf6ee;color:#5e4838;cursor:pointer}#research-dialog .primary-button{background:#94745c;color:white}#research-dialog button:disabled{opacity:.5;cursor:default}
.research-actions{display:flex;gap:8px;margin-top:12px}.research-muted,#research-project{font-size:12px;line-height:1.7;color:#756756}#research-status{font-size:13px;line-height:1.7;min-height:22px}
.research-batch{margin-top:16px;border-top:1px solid #e2d6c7;padding-top:8px}.research-source{margin:12px 0;padding:12px;background:#f8f4ec;border-radius:8px;overflow-wrap:anywhere}.research-source a{font-size:13px;color:#426b58}.research-source small,.research-batch>small{display:block;font-size:11px;color:#756756;margin:4px 0}.research-source p,.research-source summary{font-size:12px;line-height:1.6}.research-source pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:240px;overflow:auto;font:12px/1.7 inherit}
.topbar-actions{flex-wrap:wrap}#research-open{font-size:12px;padding:8px 12px;white-space:nowrap}

#research-steps{margin:12px 0;padding-left:20px;font-size:12px;line-height:1.6}#research-steps small{display:block;color:#756756;overflow-wrap:anywhere}.agent-message a,.minute a{color:#426b58;text-decoration:underline;overflow-wrap:anywhere}.agent-message strong{font-weight:600}
