/* V0.1.17–V0.1.19: resumen, encuadre y entrega directa. */
.summaryBody{flex:1;min-height:0;padding-top:12mm}
.summaryBody h2{margin:0 0 7mm;color:#173f54;font-size:18pt}
.summaryBody table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:9pt}
.summaryBody th,.summaryBody td{border:1px solid #cfd9df;padding:3mm 2.5mm;text-align:left;overflow-wrap:anywhere}
.summaryBody th{background:#eef6f5;color:#173f54}
.summaryBody th:first-child{width:31%}.summaryBody th:nth-child(2){width:18%}.summaryBody th:nth-child(3){width:31%}.summaryBody th:last-child{width:20%}
.reportFooter{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:4mm;text-align:left}
.reportFooter .reportBrand{justify-self:start;color:#536d7a;text-decoration:none;white-space:nowrap;display:inline-flex;align-items:center;gap:1.5mm;min-width:0}
.reportFooter .reportBrand img{width:4.5mm;height:4.5mm;object-fit:contain}
.reportFooter .reportCode{justify-self:center;text-align:center;overflow-wrap:anywhere}
.reportFooter .reportPageNumber{justify-self:end;text-align:right;white-space:nowrap}
.reportOptions{display:flex;flex-wrap:wrap;gap:6px 22px;margin-top:12px}
.reportOptions .reportOption{margin:0}
.framingTag{margin-left:5px;background:#edf3fa;color:#315b80}
#framingDialog{width:min(900px,96vw);max-height:96vh;border:1px solid #cbd6e0;border-radius:14px;padding:18px;color:#182638;overflow:auto}
#framingDialog::backdrop{background:#14263acc}
.framingHead{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}
.framingHead h2{margin:0 0 4px}.framingHead p{margin:0}
.framingWorkspace{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(240px,.7fr);gap:18px;margin:14px 0}
.framingPreviewStage{height:min(58vh,560px);min-height:300px;background:#263746;border-radius:10px;padding:14px;display:flex;align-items:center;justify-content:center;overflow:hidden}
#framingPreview{width:100%;height:100%;max-width:650px}
#framingPreview .framingVisual{width:100%;height:100%}
.framingControls{display:grid;align-content:start;gap:14px}
.framingControl{display:grid;gap:6px}
.framingControl label{font-weight:700;font-size:12px;display:flex;justify-content:space-between;gap:10px}
.framingControl input{width:100%}
.framingActions{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}
#downloadPdfBtn[aria-busy="true"],#sharePdfBtn[aria-busy="true"]{cursor:wait;opacity:.65}
@media(max-width:750px){.framingWorkspace{grid-template-columns:1fr}.framingPreviewStage{height:42vh;min-height:220px}.framingActions>.toolbar{display:flex;flex:1}.framingActions .btn{flex:1}#framingDialog{padding:12px}.summaryBody{padding-top:5mm}.summaryBody table{font-size:7pt}.summaryBody th,.summaryBody td{padding:2mm 1.5mm}.reportFooter{grid-template-columns:1fr auto 1fr}.reportFooter .reportBrand span{display:none}.reportFooter .reportBrand img{width:4mm;height:4mm}}
@media print{#framingDialog{display:none!important}}
