/* Compact publication cells use the Central's existing green/white palette. */
.report-publication-row{display:inline-flex;align-items:center;justify-content:space-between;gap:8px;width:100%;white-space:nowrap}
.report-publication-status{display:inline-flex;align-items:center;gap:6px;color:#16745f;font-size:11px;font-weight:600;line-height:1.4}
.report-publication-status:before{content:'';width:5px;height:5px;flex:none;border-radius:50%;background:currentColor}
.report-publication-status.warning,.report-publication-status.pending,.report-publication-status.in-progress{color:#87652c}.report-publication-status.error{color:#a33d37}.report-publication-status.not-published{color:#788983}
.report-more-btn,.delivery-close{display:inline-flex;align-items:center;justify-content:center;flex:none;width:28px;height:28px;padding:5px;border:0;border-radius:6px;background:transparent;color:#6b827b;cursor:pointer}
.report-more-btn svg,.delivery-close svg{display:block;width:18px;height:18px;fill:currentColor}
.report-more-btn:hover,.delivery-close:hover{background:#edf4f0;color:#16745f}.report-more-btn:focus-visible,.delivery-close:focus-visible{outline:2px solid #16745f;outline-offset:2px}
.report-delivery-dialog{box-sizing:border-box;width:min(560px,calc(100vw - 32px));max-height:88vh;overflow:auto;padding:24px;border:1px solid #dce5e1;border-radius:12px;background:#fff;color:#173b36;box-shadow:0 18px 60px #183c3526;font:13px Arial,sans-serif}
.report-delivery-dialog::backdrop{background:#18352d4d}.delivery-head{display:flex;align-items:center;justify-content:space-between;gap:16px}.delivery-head h2{margin:0;font-size:18px;font-weight:600;line-height:1.4}.delivery-close svg{fill:none}
#deliveryPatient{margin:4px 32px 22px 0;font-size:13px;line-height:1.5;color:#667a75;overflow-wrap:anywhere}
.delivery-report{padding:0 0 20px}.delivery-report+.delivery-report{border-top:1px solid #edf2f0;padding-top:20px}.delivery-report-heading{display:flex;align-items:baseline;gap:12px;justify-content:space-between;line-height:1.5}.delivery-report-heading strong{font-size:14px;font-weight:600;overflow-wrap:anywhere}.delivery-report-heading>span{color:#879891;font-size:11px;flex:none}
.delivery-status{margin:5px 0 13px;font-size:12px;line-height:1.5;color:#667a75}.delivery-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.report-delivery-dialog .btn{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;height:34px;min-height:34px;padding:0 12px;border:1px solid #dce5e1;border-radius:6px;background:#fff;color:#34584e;font:600 12px Arial,sans-serif;text-decoration:none;cursor:pointer}.report-delivery-dialog .btn:hover{background:#f4f8f6}.report-delivery-dialog .btn.delivery-whatsapp{background:#edf5f1;border-color:#d4e7dd;color:#16745f}.report-delivery-dialog .btn.delivery-retry{border:0;color:#87652c;font-weight:500;padding:0 4px}.report-delivery-dialog .btn:disabled{opacity:.5;cursor:not-allowed}
#deliveryContactDetails{border-top:1px solid #edf2f0;margin-top:0;padding-top:15px}#deliveryContactDetails summary{display:flex;align-items:center;justify-content:space-between;gap:12px;list-style:none;cursor:pointer;color:#667a75;font-size:12px;line-height:1.5}#deliveryContactDetails summary::-webkit-details-marker{display:none}#deliveryContactDetails summary svg{width:14px;height:14px;flex:none;transition:transform .15s}#deliveryContactDetails[open] summary svg{transform:rotate(90deg)}#deliveryContacts{padding-top:18px}
.delivery-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}.delivery-fields label{display:grid;gap:6px;font-size:12px;color:#536b62}.delivery-fields input{width:100%;box-sizing:border-box;height:36px;padding:0 9px;border:1px solid #d3dfd8;border-radius:6px;font:13px Arial,sans-serif;color:#173b36;background:#fff}.delivery-check{display:flex;align-items:flex-start;gap:8px;margin:14px 0;font-size:12px;line-height:1.5;color:#536b62}.delivery-check input{flex:none;margin:2px 0 0;accent-color:#16745f}.report-delivery-dialog .note{font-size:12px;line-height:1.5;margin:0 0 13px;color:#87652c}
.delivery-confirm{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;padding:12px 0 0;margin-top:6px;font-size:12px;color:#536b62}.delivery-confirm .btn{border-color:#c8ddcf;color:#16745f}.delivery-confirm span{line-height:1.5}
#deliveryFeedback{margin:18px 0 0;color:#667a75;font-size:12px;line-height:1.5}#deliveryFeedback.error{color:#a33d37}.report-delivery-dialog [hidden]{display:none!important}
.schedule-field input[type=checkbox]{width:16px;height:16px;padding:0;vertical-align:middle}.schedule-field label:has(input[type=checkbox]){display:flex;align-items:flex-start;gap:8px;line-height:1.5}.schedule-field label:has(input[type=checkbox]) input{flex:none;margin-top:2px}
@media(max-width:540px){.report-delivery-dialog{padding:20px}.delivery-fields{grid-template-columns:1fr}.delivery-head h2{font-size:17px}.delivery-confirm{align-items:flex-start}.report-more-btn{width:30px;height:30px}}
@media(prefers-reduced-motion:reduce){#deliveryContactDetails summary svg{transition:none}}
