.remote-docs-hero{margin-bottom:18px}
.remote-document-builder,.remote-document-queue{margin-bottom:18px}
.remote-document-top{display:grid;grid-template-columns:1.35fr 1fr 1fr 1fr;gap:12px}
.remote-document-top label{margin:0}
.remote-exam-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0}
.remote-exam-grid .exam-category{min-width:0;border:1px solid var(--line);border-radius:12px;padding:12px}
.remote-exam-grid .exam-category legend{font-weight:800;color:var(--navy);padding:0 5px}
.remote-exam-grid .check-card{margin:7px 0}
.remote-report-body{border:1px solid var(--line);border-radius:12px;padding:12px;margin:0 0 14px}
.remote-report-body.is-required{border-color:var(--rose);box-shadow:0 0 0 3px #b44e7214}
.remote-report-body textarea{margin-top:7px;white-space:pre-wrap}
.remote-report-body small{display:block;color:var(--muted);margin-top:5px}
.remote-batch{border-left:5px solid var(--navy2)}
.remote-report-preview{margin:10px 0;padding:12px;border-left:4px solid var(--navy2);background:#f5f8fb;border-radius:8px}
.remote-report-preview p{white-space:pre-wrap;margin:6px 0 0;max-height:15em;overflow:auto}

#cfmExamFields>fieldset{border:1px solid var(--line);border-radius:12px;padding:14px;margin:4px 0 0}
#cfmExamFields>fieldset>legend{font-weight:800;color:var(--navy);padding:0 6px}
.document-category{margin:0 0 16px}
.document-category:last-child{margin-bottom:0}
.document-category>strong{display:block;margin:0 0 8px;color:var(--navy);font-size:.92rem;letter-spacing:.01em}
.checkbox-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.check-option{display:flex;align-items:flex-start;gap:9px;margin:0;padding:10px 11px;border:1px solid var(--line);border-radius:9px;background:#fff;cursor:pointer;font-weight:650;line-height:1.3;min-width:0}
.check-option:hover{border-color:var(--navy2);background:#f7fafc}
.check-option:has(input:checked){border-color:var(--navy2);background:#eaf4f7;box-shadow:0 0 0 2px #183b5b14}
.check-option input{width:18px;height:18px;min-width:18px;margin:1px 0 0;flex:0 0 18px}
.check-option span{min-width:0;overflow-wrap:anywhere}

.medication-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 12px;border:1px solid var(--line);border-radius:12px;padding:12px;margin:0 0 12px}
.medication-row legend{font-weight:800;color:var(--navy);padding:0 5px}
.medication-row label{margin:0}
.medication-row label:last-child{grid-column:1/-1}

.cfm-prepare-form{display:grid;grid-template-columns:minmax(220px,1fr) auto;gap:10px;align-items:end;margin-top:12px;padding-top:12px;border-top:1px solid var(--line)}
.cfm-prepare-form label{margin:0}
.cfm-prepare-form button{margin:0}
.remote-document-queue .cfm-job{margin-top:12px}

@media(max-width:900px){
  .remote-document-top{grid-template-columns:repeat(2,minmax(0,1fr))}
  .remote-exam-grid{grid-template-columns:1fr}
}
@media(max-width:640px){
  .remote-docs-hero .metric{display:none}
  .remote-document-top,.remote-exam-grid,.checkbox-grid,.medication-row,.cfm-prepare-form{grid-template-columns:1fr}
  .medication-row label:last-child{grid-column:auto}
  #cfmExamFields>fieldset{padding:10px}
  .check-option{padding:10px}
  .remote-document-builder,.remote-document-queue{padding:15px}
  .remote-batch{padding:13px}
}
