#clinicianInvestigationsDialog { width:min(1150px,96vw); max-height:92dvh; overflow:auto; padding:24px; border:1px solid #cfc8bf; border-radius:16px; color:#292522; background:#fffdf9; }
#clinicianInvestigationsDialog::backdrop { background:#19161588; }
#clinicianInvestigationsDialog header,.investigation-toolbar,.investigation-row { display:flex; align-items:center; flex-wrap:wrap; gap:12px; margin-block:12px; }
#clinicianInvestigationsDialog header { justify-content:space-between; }
#clinicianInvestigationsDialog label { display:flex; flex-direction:column; gap:5px; margin-block:8px; }
#clinicianInvestigationsDialog input:not([type=checkbox]),#clinicianInvestigationsDialog select { width:100%; min-width:100px; padding:9px; border:1px solid #cfc8bf; border-radius:7px; background:white; color:#292522; }
#clinicianInvestigationsDialog .investigation-check { flex-direction:row; align-items:center; gap:8px; }
.investigation-check input { width:18px; height:18px; flex:none; }
.investigation-grid,.investigation-checks { display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:8px 18px; }
#clinicianInvestigationsDialog fieldset { border:1px solid #ded8d0; border-radius:9px; padding:14px; margin-block:14px; min-width:0; }
#clinicianInvestigationsDialog .investigation-editor { border:0; padding:0; }
#clinicianInvestigationsDialog details { margin-block:14px; padding:10px; background:#f3f0eb; border-radius:8px; }
#clinicianInvestigationsDialog summary { cursor:pointer; font-weight:600; }
.investigation-table-wrap { overflow:auto; }
#clinicianInvestigationsDialog table { width:100%; border-collapse:collapse; }
#clinicianInvestigationsDialog td,#clinicianInvestigationsDialog th { vertical-align:top; text-align:start; padding:10px; border-bottom:1px solid #ded8d0; min-width:170px; }
#clinicianInvestigationsDialog td:first-child { min-width:250px; }
#clinicianInvestigationsDialog [data-status] { position:sticky; top:0; z-index:2; background:#fffdf9; padding:8px 0; white-space:pre-wrap; }
@media(max-width:600px){#clinicianInvestigationsDialog{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;margin:0;border-radius:0;padding:14px}.investigation-row>label{flex:1 1 130px}.investigation-grid,.investigation-checks{grid-template-columns:1fr}}
#clinicianInvestigationsDialog,#clinicianInvestigationsDialog * { box-sizing:border-box; }
#clinicianInvestigationsDialog { font-family:system-ui,-apple-system,sans-serif; }
#clinicianInvestigationsDialog [data-status] { position:static; }
#clinicianInvestigationsDialog .investigation-measurements>label:not(.investigation-check) { display:inline-flex; width:calc(50% - 6px); min-width:100px; margin-inline-end:6px; }
@media(max-width:600px){
 #clinicianInvestigationsDialog table,#clinicianInvestigationsDialog tbody,#clinicianInvestigationsDialog tr,#clinicianInvestigationsDialog td { display:block; width:100%;min-width:0; }
 #clinicianInvestigationsDialog thead { display:none; }
 #clinicianInvestigationsDialog tr { border:1px solid #ded8d0;border-radius:8px;margin-block:12px; }
 #clinicianInvestigationsDialog td:first-child { min-width:0; }
 #clinicianInvestigationsDialog .investigation-measurements::before { content:attr(data-participant);font-weight:600; }
}
