textarea{font:inherit;border:1px solid #cbd8d1;border-radius:6px;background:#fff;color:var(--ink);padding:11px;width:100%;resize:vertical;line-height:1.55}textarea:focus{outline:2px solid #2c8a7290;border-color:var(--green)}.report-title,.report-state{display:flex;gap:15px;align-items:center;flex-wrap:wrap}.report-title{justify-content:space-between;margin:25px 0 20px}.report-title h2{margin:0}.report-layout{display:grid;grid-template-columns:minmax(360px,1.15fr) minmax(340px,1fr);gap:25px;align-items:start}.report-source{position:sticky;top:20px;min-width:0}.report-editor{padding:24px;background:#fff;border:1px solid var(--line);border-radius:10px;min-width:0}.report-field{display:block;font-weight:600;font-size:12px;margin:18px 0}.report-field>textarea,.report-field>input,.report-field>select{display:block;margin-top:8px;font-weight:400;font-size:14px}.report-actions,.report-toolbar{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:20px 0}.report-toolbar>*{flex:1;min-width:180px}.report-actions button{font-size:12px;padding:10px 13px}.report-details{border-top:1px solid var(--line);margin-top:24px;padding-top:20px;font-size:13px}.report-details summary{cursor:pointer;font-weight:650;margin-bottom:12px}.report-version{padding:14px 0;border-top:1px solid #e7eee9;display:flex;gap:10px;align-items:center;flex-wrap:wrap}.report-version strong{font-size:12px}.report-version small{color:var(--muted)}.report-version button{padding:7px 10px}.report-download{font-size:12px;color:var(--green);font-weight:600;text-decoration:none;padding:8px}.report-proposal{background:#eff5f0;border:1px solid #c9ded0;border-radius:8px;margin-top:20px;padding:18px;display:flex;gap:9px;flex-wrap:wrap}.report-proposal h3,.report-proposal p{width:100%;margin-bottom:4px}.report-state p{width:100%;margin:0;font-size:12px}.report-dialog{border:1px solid var(--line);border-radius:12px;padding:28px;max-width:1000px;width:90vw;max-height:90vh;color:var(--ink);box-shadow:0 25px 90px #0004}.report-dialog::backdrop{background:#142b2466}.report-dialog pre,.client-final pre{font:inherit;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6;font-size:14px}.report-dialog h3{margin:24px 0 10px}.report-diff{display:grid;grid-template-columns:1fr 1fr;gap:20px}.report-diff>div{padding:15px;background:#f4f7f4;border-radius:6px;min-width:0}.report-diff>div:last-child{background:#edf5ee}.report-diff small{font-weight:700;color:var(--muted)}.client-final{padding:25px;margin:22px 0;background:white;border:1px solid var(--line);border-radius:10px}.client-final h4{color:var(--muted);font-size:12px;margin:22px 0 5px;text-transform:uppercase;letter-spacing:1px}.report-wide .content{max-width:none;padding-left:28px;padding-right:28px}.report-wide aside{width:210px}.report-wide .content{margin-left:210px;width:calc(100% - 210px)}#reporting-view>.management-card{margin-top:25px;max-width:1050px}#reporting-view pre{white-space:pre-wrap;overflow-wrap:anywhere}.report-check{display:flex;align-items:flex-start;gap:12px;font-size:13px;font-weight:400;line-height:1.6}.report-check input{width:17px;height:17px;margin-top:3px}.branding-row{border-top:1px solid var(--line);display:flex;gap:20px;align-items:center;flex-wrap:wrap;padding:12px 0}.branding-row label{flex:1;min-width:230px;margin:0}.branding-row input{margin-top:8px}.branding-row img{width:70px;height:70px;object-fit:contain}.report-preference{border-top:1px solid var(--line);padding:20px 0}.report-preference .badge{margin-bottom:10px}.report-preference small{display:block;color:var(--muted)}.report-preference button{margin:12px 10px 0 0}#nav-reporting,#nav-reporting-settings{padding:11px 17px}@media(max-width:1200px){.report-layout{grid-template-columns:1fr}.report-source{position:static}}@media(max-width:700px){.report-wide .content{margin:0;width:100%;padding:0 18px 25px}.report-wide aside{width:100%}.report-diff{grid-template-columns:1fr}.report-editor{padding:16px}#nav-reporting,#nav-reporting-settings{display:block;padding:10px 12px}}

.template-layout{display:grid;grid-template-columns:minmax(220px,300px) minmax(0,1fr);gap:24px;align-items:start}.template-library{position:sticky;top:20px}.template-list{max-height:65vh;overflow:auto;margin-top:16px;display:grid;gap:6px}.template-choice{text-align:left;background:transparent;color:var(--ink);border:1px solid transparent;padding:12px;border-radius:6px;white-space:normal}.template-choice.selected{background:#edf5ee;border-color:#bdd7c5;color:var(--green);font-weight:600}.template-choice:hover{background:#f3f7f3}.template-editor h2{margin-top:0}.template-editor .report-actions{position:sticky;bottom:0;background:white;padding:12px 0;margin-bottom:0}#nav-templates{padding:11px 17px}@media(max-width:900px){.template-layout{grid-template-columns:1fr}.template-library{position:static}.template-list{max-height:230px}}
.report-banner{display:flex;justify-content:space-between;gap:24px;margin-top:24px;padding-bottom:12px;border-bottom:1px solid var(--line)}.report-banner img{height:50px;max-width:45%;object-fit:contain}.report-demographics{font:inherit;font-size:13px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere;padding:16px 0;border-bottom:1px solid var(--line);margin-bottom:20px}.report-final-downloads:not(:empty){margin:20px 0;padding:16px;background:#edf5ee;border:1px solid #bdd7c5;border-radius:8px}.report-final-downloads h3{margin:0}.report-final-downloads .report-actions{margin-bottom:0}

.report-pdf-viewer{margin:12px 0 18px}.report-pdf-viewer iframe{display:block;width:100%;height:70vh;min-height:480px;max-height:900px;border:1px solid var(--line);border-radius:6px;background:#e7e9eb}.report-pdf-viewer p{margin:8px 0 0}@media(max-width:700px){.report-pdf-viewer iframe{min-height:380px;height:65vh}}
.report-preference .report-actions>.report-field{flex:1 1 100%;margin:0}.report-preference .report-actions>.report-field>select{width:100%}.report-preference .report-actions>p{flex-basis:100%;margin:0}

.report-title{position:sticky;top:0;z-index:20;background:var(--paper,#f6f8f5);padding:12px 0;border-bottom:1px solid var(--line)}.report-title .report-actions{margin:0}.report-title button{min-height:44px}

.report-field.report-ai-notes{margin:24px 0;padding:16px;background:#e5f3e7;border:1px solid #9ac9a4;border-left:4px solid #287847;border-radius:8px;color:#1b5136}.report-ai-notes>textarea{background:#f3fbf4;border-color:#91b99b}.report-ai-notes>textarea:focus{border-color:#287847;outline:2px solid #28784780}
.report-ai-notes-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.report-ai-notes-heading>label{margin:0;font:inherit}.report-northstar{padding:5px 9px;font-size:11px;white-space:nowrap}
.report-worklist-actions{margin:0}.report-bulk-dialog{max-width:660px}.report-bulk-dialog h2{margin-top:0}.report-bulk-options{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.report-bulk-options .report-field{margin:10px 0}.report-bulk-options select,.report-bulk-options input{width:100%}.report-bulk-summary{font-weight:600}.report-bulk-dialog progress{width:100%;height:12px}.report-bulk-dialog .report-actions{margin-bottom:0}@media(max-width:560px){.report-bulk-options{grid-template-columns:1fr}.report-bulk-dialog{padding:20px}}
.report-laterality{margin:10px 0;padding:10px 12px;background:#edf4f8;border:1px solid #c4d6e1;border-radius:6px;overflow-wrap:anywhere}.report-laterality:empty{display:none}.report-laterality p{margin:7px 0 0}
.report-dicom-history{margin:10px 0;padding:10px 12px;background:#edf4f8;border:1px solid #c4d6e1;border-radius:6px;overflow-wrap:anywhere}.report-dicom-history-text{white-space:pre-wrap;margin-top:5px}.report-dicom-history p{margin:7px 0 0}

/* Wide windowed reading reserves a usable editor column and gives images the remaining width. */
@media(min-width:1600px){.report-layout{grid-template-columns:minmax(0,1fr) minmax(360px,480px)}}
.report-source:has(.mp-viewer-expanded){z-index:10001}
