.human-effort { margin-block: 18px; }
.human-effort summary { cursor: pointer; font-weight: 700; padding-block: 8px; }
.human-effort p { line-height: 1.5; }
.he-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr)); gap: 12px; margin-block: 14px; }
.human-effort label { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.human-effort input, .human-effort select, .human-effort textarea { width: 100%; min-width: 0; max-width: 100%; }
.human-effort input[type="checkbox"] { width: 18px; height: 18px; flex-shrink: 0; }
.human-effort .he-check { display: flex; flex-direction: row; align-items: flex-start; gap: 10px; margin-block: 12px; }
.he-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-block: 12px; }
.he-actions button { min-height: 44px; }
.he-summary { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(190px,100%),1fr)); gap: 12px; }
.he-summary p, .he-record { padding: 12px; border: 1px solid var(--border-color, #454755); border-radius: 10px; margin: 0; }
.he-summary strong { display: block; font-size: 1.15rem; margin-top: 4px; }
.he-warning { padding: 12px; border-left: 3px solid #7450c3; background: #f6f2fc; margin-block: 12px; line-height: 1.5; }
.he-record { margin-block: 8px; overflow-wrap: anywhere; }
.he-interval { display: grid; grid-template-columns: 1fr 1fr auto; align-items: end; gap: 8px; margin-block: 8px; }
.he-interval button { min-height: 44px; }
.human-effort fieldset { min-width: 0; margin-block: 14px; border: 1px solid var(--border-color, #454755); padding: 12px; border-radius: 8px; }
.human-effort legend { padding-inline: 6px; font-weight: 600; }
.human-effort details details { margin-top: 14px; padding-top: 10px; border-top: 1px solid var(--border-color, #454755); }
.he-result { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.6; }
.he-timer { font-variant-numeric: tabular-nums; }
.human-effort { min-width: 0; overflow-wrap: anywhere; }
.pythia-consultant .consultant-utilities #human-effort:has(> details[open]) { flex-basis: 100%; }
.human-effort h3 { font-size: 1rem; margin-block: 18px 8px; }
.he-next { padding: 12px 14px; border-radius: 8px; background: #f6f3fb; color: #35254d; border: 1px solid #ded4ef; }
.he-target-note, #he-run, #he-prepared-state { color: #5d556b; font-size: .9rem; }
.he-draft { color: #694315; background: #fff8e9; padding: 10px; border-radius: 6px; }
.he-status-error { padding: 12px; border-left: 3px solid #a12d4b; background: #fff4f5; color: #71223a; }
.human-effort :focus-visible, #he-status:focus { outline: 3px solid #7450c3; outline-offset: 3px; }
.human-effort details, .human-effort form, .he-result, #he-readiness { min-width: 0; max-width: 100%; }
.he-table-scroll { min-width: 0; max-width: 100%; overflow-x: auto; margin-block: 12px; border: 1px solid #ded9e7; border-radius: 8px; }
.he-table-scroll table { width: 100%; min-width: 560px; border-collapse: collapse; white-space: normal; }
.he-table-scroll th, .he-table-scroll td { padding: 10px 12px; text-align: left; border-bottom: 1px solid #e7e1ec; vertical-align: top; }
.he-table-scroll thead { background: #f5f2f9; }
.he-table-scroll caption { text-align: left; padding: 10px 12px; font-weight: 600; }
.human-effort [hidden] { display: none !important; }
@media (max-width: 520px) { .he-interval { grid-template-columns: 1fr; } .he-actions button { flex: 1 1 140px; } }
