.mp-area { display:grid; gap:16px; }
.mp-area .card { margin:0; }
.mp-tabs,.mp-controls { display:flex; flex-wrap:wrap; gap:10px; align-items:center; }
.mp-tabs { margin-block:0 4px; }
.mp-controls { justify-content:space-between; margin-block:12px; }
.mp-controls .field { flex:1 1 220px; max-width:440px; }
.mp-filters { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(200px,100%),1fr)); gap:12px; }
.mp-stage { padding-block:14px; border-block-end:1px solid #e7dfd1; }
.mp-stage:last-child { border:0; }
.mp-stage summary { cursor:pointer; font-weight:bold; }
.mp-stage summary .badge { margin-inline-start:12px; }
.mp-text,.mp-event p { white-space:pre-line; }
.mp-event { border-block-end:1px solid #e7dfd1; padding-block:10px; }
.mp-event:last-child { border:0; }
.mp-form { display:grid; gap:10px; }
.mp-error:not(:empty) { color:#8b241e; }
.mp-results .table-wrap input[type=checkbox] { width:18px; height:18px; }
.mp-matrix { margin-block:18px 0; }
.mp-matrix summary { cursor:pointer; font-weight:bold; padding-block:8px; }
.mp-matrix table { width:max-content; min-width:100%; }
.mp-matrix td,.mp-matrix th { text-align:center; padding:6px; }
.mp-matrix th { max-width:135px; white-space:normal; }
.mp-matrix th[scope=row] { text-align:start; }
.mp-matrix button { color:inherit; background:#f3eee4; padding:4px 9px; border:0; border-radius:5px; cursor:pointer; }
