.lensShare{display:grid;gap:14px;color:#006268;font:15px/1.5 system-ui,sans-serif}
.lensShare fieldset{border:1px solid #b8dce2;border-radius:10px;min-width:0;padding:12px}
.lensShare legend{font-weight:700}
.lensShare label{display:flex;align-items:flex-start;gap:10px;margin:10px 0}
.lensShare input[type="checkbox"]{flex:none;appearance:auto;width:18px;height:18px;min-height:0;margin:3px 0;padding:0}
.lensShare textarea{box-sizing:border-box;width:100%;min-height:260px;resize:vertical;border:1px solid #b8dce2;border-radius:10px;padding:12px;font:15px/1.5 system-ui,sans-serif;color:#006268;background:#f7fcfd}
.lensShare button{justify-self:start}
#pdfShareDialog{border:0;border-radius:16px;width:min(680px,calc(100vw - 24px));max-height:88vh;padding:20px;color:#006268}
#pdfShareDialog::backdrop{background:#003d4680}
#pdfShareDialog h2{font-size:22px;margin:0}
#pdfShareDialog .shareDialogHeading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}
.compactSelection .selectionShareOptions{grid-column:1/-1}

.artifactFileCard,.caseDocumentRow{display:block!important}
.documentDirectActions{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px;justify-content:flex-start}
.caseFolderActions{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.documentSaveDialog select{display:block;width:100%;padding:12px;margin:10px 0 18px;font-size:16px;border:1px solid #b8dce2;border-radius:8px}
.documentType-standard{--document-color:#15556e;--document-tint:#eff7fa}
.documentType-results{--document-color:#d7065b;--document-tint:#fff1f6}
.documentType-selection{--document-color:#793c9b;--document-tint:#f7effb}
.documentDirectActions .documentButton{background:var(--document-color)!important;border-color:var(--document-color)!important;color:#fff!important}
.artifactFileCard.documentType-standard,.artifactFileCard.documentType-results,.artifactFileCard.documentType-selection{border:1px solid var(--document-color);background:var(--document-tint)}
.artifactFileCard strong{color:var(--document-color,#006268)}
.topDocumentTools{margin:8px 0 14px;padding:8px;border:1px solid #d6e7eb;border-radius:10px;background:#fff}
.topDocumentTools h3{font-size:14px;margin:0 0 5px}
.compactPdfRow{display:flex;flex-wrap:wrap;gap:5px 10px;align-items:center;margin:4px 0}
.compactPdfContext{font-size:12px;color:#46656d;min-width:100px}
.compactDocumentActions{margin:0;gap:5px}
.compactDocumentActions .documentButton{padding:5px 8px!important;font-size:12px!important;min-height:0!important;border-radius:7px!important}
.compactArtifactPanel{margin:8px 0 0!important}.compactArtifactPanel>summary{font-size:13px;padding:5px}
.selectionShareOptions>summary,.lensShare>button{background:#d7065b!important;color:#fff!important;border:2px solid #d7065b;border-radius:10px;padding:12px 18px;font-weight:750;font-size:17px;cursor:pointer;list-style:none;width:fit-content}
.lensShare>button{width:100%;justify-self:stretch;position:sticky;top:0;z-index:3;box-shadow:0 2px 8px #81314a25}
.shareNoteIcon{font-size:22px;line-height:1.3;flex:none}
.lensShare legend{font-size:16px}.lensShare label{padding:8px;border-radius:8px;background:#f4f8fb}
.readerHeader{padding:4px 7px!important}.readerHeader .readerActions{justify-content:flex-start;gap:5px}
.readerHeader .readerActions .documentButton{font-size:12px!important;padding:5px 8px!important;min-height:28px!important}
.readerHeader .srOnly{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.readerHeader #pdfStatus{font-size:11px;margin:3px 0 0}.readerHeader #pdfStatus:empty,.documentActionStatus:empty{display:none}
.readerHeader #pdfSuggest{box-shadow:none}.readerHeader[data-document-type="standard"]{--pdf-color:#15556e}.readerHeader[data-document-type="results"]{--pdf-color:#d7065b}.readerHeader[data-document-type="selection"]{--pdf-color:#793c9b}
.readerHeader .pdfFileAction{background:var(--pdf-color,#006268);border-color:var(--pdf-color,#006268);color:white}
.pdfMark{position:absolute;z-index:4;width:17px;height:16px;padding:0!important;min-height:0!important;border:1px solid #087943;background:#fff;color:#087943;font:700 11px/14px system-ui;cursor:pointer;pointer-events:auto}
.pdfMark[hidden]{display:none}
#pdfViewport{padding-top:5px}
#calculationSettingsView .doctorEditorCard input:not([type="checkbox"]),#calculationSettingsView .doctorEditorCard textarea,#calculationSettingsView .doctorEditorCard select{max-width:100%;padding:9px;font-size:15px}
#calculationSettingsView .doctorEditorCard label{display:block;margin:8px 0}
#calculationSettingsView .doctorEditorCard input[type="checkbox"]{width:17px;height:17px;min-height:0;vertical-align:middle;margin-right:7px}

.lensShare .shareNotesDisclosure>summary{font-size:14px;font-weight:650;padding:7px;cursor:pointer;color:#9e174b;background:#fff0f5;border-radius:7px}.lensShare .shareNotesDisclosure[open]>summary{margin-bottom:10px}

/* PC: the three document groups share the available row. */
@media (min-width: 760px){
 #topDocumentLinks,#generatedArtifactLinks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 14px;align-items:start;width:100%}
 #topDocumentLinks .compactPdfRow,#generatedArtifactLinks .compactPdfRow{display:flex;flex-direction:column;align-items:stretch;gap:4px;margin:0;min-width:0}
 #topDocumentLinks .compactPdfContext,#generatedArtifactLinks .compactPdfContext{min-width:0;font-size:12px;line-height:1.25}
 #topDocumentLinks .compactDocumentActions,
 #generatedArtifactLinks .documentDirectActions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;width:100%;box-sizing:border-box}
 #topDocumentLinks .documentButton,
 #generatedArtifactLinks .documentDirectActions .documentButton{box-sizing:border-box;min-width:0!important;max-width:100%;width:100%;padding:7px 6px!important;font-size:12px!important;line-height:1.25!important;min-height:32px!important;white-space:normal!important;text-align:center;border-radius:7px!important;overflow-wrap:anywhere}
 #topDocumentLinks .documentButton:first-child,
 #generatedArtifactLinks .documentDirectActions .documentButton:first-child{grid-column:1/-1}
 #generatedArtifactLinks .artifactFileCard{box-sizing:border-box;padding:10px;min-width:0}
 #generatedArtifactLinks .artifactFileCard strong{font-size:14px;line-height:1.3}
 #generatedArtifactLinks .artifactFileName{font-size:12px;line-height:1.3;margin:6px 0 0}
 .topDocumentTools .compactArtifactPanel{margin-top:6px!important;padding:6px 10px!important;border-radius:9px}
 .topDocumentTools .compactArtifactPanel>summary{padding:3px 0!important;font-size:12px!important}
}
@media (min-width: 1400px){
 #topDocumentLinks .compactDocumentActions,#generatedArtifactLinks .compactDocumentActions{grid-template-columns:repeat(3,minmax(0,1fr))}
 #topDocumentLinks .documentButton:first-child,#generatedArtifactLinks .documentButton:first-child{grid-column:auto}
}
#settingsCopyPreference{display:block;width:100%;box-sizing:border-box;margin:6px 0 12px}
.settingsCopyLabel{display:block;font-weight:700;margin-top:12px}

#generatedArtifactLinks .compactPdfRow{padding:0;border:0;background:none;min-width:0}
#openConfiguration{display:none!important}
.adminApiPanel{margin-top:16px}.adminApiPanel>summary{font-weight:700;font-size:18px;cursor:pointer;padding:10px 0}.adminApiPanel label{display:block;margin:8px 0}.adminApiPanel select{max-width:100%}
/* Shared doctor directory */
#doctorDirectoryView .doctorEditorCard label{display:block;margin:9px 0}
#doctorDirectoryView .doctorEditorCard input:not([type="checkbox"]):not([type="radio"]),#doctorDirectoryView .doctorEditorCard select{box-sizing:border-box;width:100%;max-width:100%;padding:9px;font-size:15px}
#doctorDirectoryView .doctorEditorCard input[type="checkbox"],#doctorDirectoryView .doctorEditorCard input[type="radio"]{width:17px;height:17px;min-height:0;vertical-align:middle;margin-right:8px}
#doctorDirectoryView .doctorEditorCard fieldset{min-width:0;margin:14px 0;padding:12px;border:1px solid #d6e7eb;border-radius:9px}
.doctorTabs{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}.doctorTabs [aria-selected="true"]{background:#d7065b;color:white}
.doctorClinicRow{display:flex;align-items:end;gap:10px}.doctorClinicRow label{flex:1;min-width:0}.doctorClinicRow button{margin-bottom:9px;min-width:0}
