.execution-panel{margin:20px 0;padding:20px;border:1px solid var(--line);border-radius:9px;background:var(--surface);min-width:0}
.execution-panel h3,.execution-dialog h3{font-size:16px;margin:0 0 10px}.execution-panel .section-head{gap:12px;align-items:flex-start;margin:0 0 12px}.execution-panel .section-head p{margin:8px 0 0}.execution-panel .field{margin-bottom:12px}.execution-panel .muted,.execution-dialog .muted{font-size:13px}.execution-panel .task-actions,.execution-dialog .task-actions{display:flex;gap:8px;flex-wrap:wrap}.execution-panel button,.execution-dialog button,.execution-dialog summary{min-height:44px}.execution-panel textarea,.execution-dialog textarea,.execution-panel select,.execution-dialog select{min-width:0;min-height:44px;width:100%}.execution-panel .execution-list-heading{border-top:1px solid var(--line);padding-top:20px;margin-top:24px}.execution-scope{font-size:14px;color:var(--green);line-height:1.65;overflow-wrap:anywhere}.execution-item{padding:14px 0;border-bottom:1px solid var(--line);overflow-wrap:anywhere}.execution-item .section-top{gap:12px;align-items:flex-start;flex-wrap:wrap}.execution-item p{margin:10px 0;font-size:14px;white-space:pre-wrap}.execution-item strong{font-size:14px}.execution-dialog{width:680px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);overflow:auto}.execution-dialog [hidden],.execution-panel [hidden]{display:none}.execution-dialog .dialog-heading{align-items:flex-start;gap:16px}.execution-dialog h2{overflow-wrap:anywhere}.execution-dialog h3{margin-top:20px}.execution-dialog p,.execution-dialog li{line-height:1.7;overflow-wrap:anywhere;font-size:14px}.execution-dialog details{margin:12px 0}.execution-dialog summary{display:flex;align-items:center;cursor:pointer;color:var(--green);font-size:14px}.execution-dialog pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;font-size:13px;padding:12px;background:var(--paper);border-radius:6px}.execution-dialog form{margin-top:20px;border-top:1px solid var(--line)}.execution-dialog .field{margin:12px 0}.execution-prose{white-space:pre-wrap}.execution-questions{padding:14px;background:var(--pale);border-radius:6px}.execution-questions ul{padding-left:20px;margin-bottom:0}.execution-receipt{border-bottom:1px solid var(--line);padding:8px 0}.execution-receipt small{display:block;color:var(--muted);overflow-wrap:anywhere}.execution-confirm{display:flex;gap:10px;align-items:flex-start;min-height:44px;font-size:14px;line-height:1.6;margin:16px 0}.execution-confirm input,.material-choice input{width:18px;height:18px;flex-shrink:0;accent-color:var(--green);margin:3px 0}.material-choice{display:flex;gap:10px;align-items:flex-start;min-height:44px;min-width:0;cursor:pointer}.material-choice strong{overflow-wrap:anywhere}.execution-panel :focus-visible,.execution-dialog :focus-visible,.material-choice:focus-within{outline:2px solid var(--green);outline-offset:3px}.execution-panel button:hover,.execution-dialog button:hover{filter:brightness(.96)}.execution-panel button:disabled,.execution-dialog button:disabled{cursor:default;opacity:.55}
.topic-synthesis{padding:20px 0;border-bottom:1px solid var(--line)}.topic-synthesis>.section-head{display:flex;align-items:start;justify-content:space-between;gap:16px;margin-bottom:12px}.topic-synthesis>.section-head h3{font-size:16px}.topic-synthesis>.muted{margin-bottom:16px;font-size:12px;line-height:1.8}.topic-synthesis-report{padding:18px;border:1px solid var(--line);border-radius:8px;background:var(--paper);margin:14px 0;min-width:0}.topic-synthesis-report .record-top{display:flex;justify-content:space-between;gap:12px;align-items:start;flex-wrap:wrap}.topic-synthesis-report p,.topic-synthesis-report li{line-height:1.8;font-size:13px;overflow-wrap:anywhere}.topic-synthesis-report .muted{font-size:12px;margin:8px 0}.synthesis-insight{padding:16px 0;border-top:1px solid var(--line);margin-top:16px}.synthesis-insight h4{font-size:14px;line-height:1.7;margin:5px 0 10px;overflow-wrap:anywhere}.synthesis-insight details{margin-top:10px}.synthesis-insight summary{min-height:44px;padding:12px 0;cursor:pointer;color:var(--green);font-size:12px}.synthesis-insight blockquote{margin:12px 0;padding:12px;background:var(--surface);font-size:13px;white-space:pre-wrap;overflow-wrap:anywhere}.synthesis-insight ul{padding-left:20px}.topic-synthesis-report button{min-height:44px;max-width:100%;white-space:normal;text-align:left}
@media(max-width:640px){.topic-synthesis>.section-head{flex-direction:column}.topic-synthesis-report{padding:14px}.execution-panel{padding:15px}.execution-panel .form-row,.execution-dialog .form-row{grid-template-columns:minmax(0,1fr)}.execution-dialog{padding:18px}.execution-panel .task-actions button,.execution-dialog .task-actions button{max-width:100%;white-space:normal;text-align:left}.execution-dialog .dialog-heading h2{font-size:20px}}

.execution-record{padding:12px 0;border-bottom:1px solid var(--line)}.execution-record>p{margin:8px 0}.execution-record-question{padding:12px 0}.execution-dialog .execution-record details{margin:6px 0}

.execution-automation { margin-block: 1rem; padding: 1rem; border: 1px solid var(--line); border-radius: 12px; }
.execution-automation summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; }
