.hitl-toggle{display:flex;align-items:center;gap:.5rem;margin:1rem 0;font-weight:600}.hitl-toggle input{width:auto}.hitl-plan fieldset{border:1px solid #cad9d0;border-radius:10px;padding:1rem;margin:1rem 0;min-width:0}.hitl-plan legend{font-weight:700}.hitl-plan label{display:block;margin:.7rem 0}.hitl-plan select,.hitl-plan textarea,.hitl-plan input{max-width:100%;width:100%}.hitl-plan button{margin:.3rem .4rem .3rem 0}.hitl-plan details{margin:1rem 0}.hitl-plan .hitl-run{background:#285f49;color:white}.hitl-plan .hitl-status{white-space:pre-line}.hitl-related,.hitl-candidates{display:flex;flex-wrap:wrap;gap:.3rem}.hitl-candidates h4{width:100%}
.hitl-plan button{border:1px solid #b7cdc0;border-radius:8px;padding:.55rem .75rem;background:#f3f8f4;color:#285f49;cursor:pointer;font:inherit}.hitl-plan button:disabled{opacity:.5;cursor:default}.hitl-plan button:focus-visible{outline:2px solid #285f49;outline-offset:2px}
.hitl-plan .hitl-choice,.hitl-plan .overlap-criteria label,.hitl-plan .hitl-weight-switch{display:flex;align-items:flex-start;gap:12px;font-size:14px;color:#254839;cursor:pointer}.hitl-plan input[type=checkbox],.hitl-plan input[type=radio]{width:20px;height:20px;min-width:20px;margin:3px 0;accent-color:#285f49}.hitl-choice{padding:12px 14px;border:1px solid #cad9d0;border-radius:10px;background:#fff}.hitl-choice.is-selected{background:#e8f4ed;border:2px solid #397654;padding:11px 13px}.hitl-choice strong{display:block}.hitl-choice small,.overlap-criteria small{display:block;color:#5c7063;font-size:12px;margin-top:3px}.hitl-count{position:sticky;top:0;background:#edf6ef;padding:12px;z-index:1;border-radius:8px;font-weight:700}.hitl-plan .hitl-candidates{display:block}.hitl-plan .hitl-run{width:100%;padding:13px;font-weight:700}.hitl-plan .hitl-priority{border-top:1px solid #d6e2d9;padding-top:12px}.hitl-plan .hitl-related:empty{display:none}

/* Question-first, live evidence workflow. */
.hitl-suggested{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.hitl-plan .hitl-choice{margin:0}.hitl-plan h4{font-size:17px;margin:20px 0 12px}.hitl-priority{background:#f2f7f4;padding:16px;border-radius:12px}.hitl-selected fieldset{background:white}.hitl-selected output{float:right;font-size:20px;font-weight:750;color:#21553e}.hitl-plan input[type=range]{height:32px;accent-color:#286b50;cursor:ew-resize}.hitl-lever-labels,.conclusion-axis{display:flex;justify-content:space-between;color:#607165;font-size:12px;gap:8px}.hitl-share-strip{display:flex;gap:3px;flex-wrap:wrap}.hitl-share-strip span{background:#d4e8dc;padding:8px;border-radius:5px;min-width:75px;font-size:12px}.question-conclusion{border:2px solid #458362;border-radius:14px;padding:18px;background:#fff}.conclusion-headline{font-size:20px;font-weight:750;line-height:1.5;color:#205138}.conclusion-text{white-space:pre-line;line-height:1.8}.conclusion-variable{border-top:1px solid #d7e4dc;padding-top:12px}.conclusion-variable>summary{font-weight:700;cursor:pointer}.conclusion-group{padding:10px 0}.conclusion-group h5{font-size:13px;font-weight:600;margin:8px 0;overflow-wrap:anywhere}.conclusion-range{position:relative;height:52px;margin-top:12px;background:linear-gradient(transparent 24px,#c6dbcd 24px,#c6dbcd 28px,transparent 28px)}.hitl-plan .conclusion-dot{position:absolute;top:12px;transform:translateX(-50%);border-radius:100%;min-width:24px;height:28px;padding:0 3px;margin:0;background:#286b50;color:white;font-size:10px;z-index:1}.hitl-plan .conclusion-dot:hover,.hitl-plan .conclusion-dot:focus{z-index:2;outline:3px solid #d3ac55}.conclusion-members .table-scroll{max-height:300px;overflow:auto}.conclusion-members table{width:100%;border-collapse:collapse}.conclusion-members td,.conclusion-members th{text-align:left;padding:7px;border-bottom:1px solid #e0e8e3}.hitl-results.is-stale{opacity:.45;pointer-events:none}.hitl-plan [hidden]{display:none!important}.conclusion-axis span{flex:1}.conclusion-axis span:last-child{text-align:right}@media(max-width:600px){.hitl-suggested{grid-template-columns:1fr}.hitl-priority,.question-conclusion{padding:12px}.conclusion-headline{font-size:17px}.hitl-selected fieldset{padding:10px}.hitl-plan .conclusion-dot{min-width:15px;width:17px;font-size:9px}}

.chat-workspace.question-flow{grid-template-columns:minmax(0,1fr);max-width:1050px;margin:auto}.question-flow #messages{max-height:none;overflow:visible}.question-flow #evidence-panel{max-height:none}.question-flow .hitl-count{position:static}.question-flow .hitl-selected{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.question-flow .hitl-selected fieldset{margin:0}.question-flow .hitl-plan{padding:22px}.question-flow .hitl-checks,.question-flow .collection-assistant{margin-bottom:14px}.hitl-full-evidence>summary{font-weight:700}.question-flow .hitl-suggested{grid-template-columns:repeat(3,minmax(0,1fr))}@media(max-width:700px){.question-flow .hitl-selected,.question-flow .hitl-suggested{grid-template-columns:1fr}.question-flow .hitl-plan{padding:12px}}

.question-flow #evidence-panel.is-stale{opacity:.45;pointer-events:none}

.hitl-plan .conclusion-dot{white-space:nowrap;overflow-wrap:normal;line-height:26px;padding:0}@media(max-width:600px){.hitl-plan .conclusion-dot{width:22px;min-width:22px;font-size:10px}}

/* agent chat */
.agent-summary{white-space:pre-line;line-height:1.7}.agent-highlights{margin:.5rem 0 .5rem 1.2rem;padding:0}.agent-highlights li{margin:.2rem 0}.agent-caveats{color:#5c7063}.agent-followups{margin:.3rem 0 .8rem}.agent-actions{display:flex;flex-wrap:wrap;gap:.6rem;align-items:center;margin-top:.6rem}.agent-meta{color:#7a8a80}.agent-weights,.agent-input{padding:12px;border:1px solid #cad9d0;border-radius:12px;background:#f7faf8;margin:.8rem 0}.agent-weights h4,.agent-input h4{margin:0 0 .5rem}.agent-weights h4 small{font-weight:400;color:#5c7063;display:block}.agent-weights .hitl-selected{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px}.agent-weights fieldset{margin:0}.agent-data .collection-card{border:1px solid #d6e2d9;border-radius:8px;padding:8px 10px;margin:.4rem 0;background:#fff}.agent-message .source-evidence{margin-top:.6rem}
