/* Private payroll receipt components; scoped only to receipt controls */
.mwhib-receipt-admin{margin-top:20px;padding:16px;border:1px solid #dce3eb;border-radius:12px;display:grid;gap:12px}
.mwhib-receipt-admin h3{font-size:15px;font-weight:700;margin:0}
.mwhib-receipt-muted{font-size:12px;line-height:1.7;color:#64748b;margin:0}
.mwhib-receipt-state{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:12px}
.mwhib-receipt-drop{display:grid;gap:8px;border:1px dashed #cbd5e1;padding:14px;border-radius:10px;font-size:13px;background:#f8fafc}
.mwhib-receipt-drop span{font-size:12px;color:#64748b;direction:ltr;text-align:right}
.mwhib-receipt-drop input{max-width:100%;font-size:12px}
.mwhib-receipt-action{display:inline-flex;align-items:center;justify-content:center;max-width:100%;padding:7px 10px;border:1px solid #dce3eb;border-radius:8px;line-height:1.45;font:inherit;font-size:12px;background:#fff;color:#334155;cursor:pointer;text-decoration:none;white-space:nowrap}
.mwhib-receipt-action:hover{background:#f8fafc}
.mwhib-receipt-action:disabled{opacity:.5;cursor:not-allowed}
.mwhib-receipt-primary{background:#f97316;color:#fff;border-color:#f97316;font-weight:700}
.mwhib-receipt-primary:hover{background:#ea580c}
.mwhib-receipt-message{font-size:12px;color:#166534;margin:0}
.mwhib-receipt-message[data-error="1"]{color:#b91c1c}
.mwhib-receipt-dialog{margin:auto;width:min(620px,calc(100% - 24px));max-height:88dvh;padding:0;border:1px solid #dce3eb;border-radius:14px;background:white;color:#172033;overflow:auto;box-shadow:0 16px 60px #0003;font-family:inherit}
.mwhib-receipt-dialog::backdrop{background:#17203399}
.mwhib-receipt-header{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:16px 20px;border-bottom:1px solid #e6ebf1}
.mwhib-receipt-header h2{font-size:16px;font-weight:700;margin:0}
.mwhib-receipt-content{display:grid;gap:16px;padding:20px;font-size:13px;text-align:center;white-space:normal}
.mwhib-receipt-content>a{justify-self:center}
.mwhib-receipt-image{max-width:100%;max-height:60dvh;object-fit:contain;margin:auto}
.mwhib-receipt-pdf{display:grid;gap:10px;justify-items:center;background:#f8fafc;padding:20px;border-radius:10px}
html[data-mwhib-publisher-theme=dark] .mwhib-receipt-dialog{background:#111821;color:#e2e8f0;border-color:#334155}
html[data-mwhib-publisher-theme=dark] .mwhib-receipt-dialog :is(.mwhib-receipt-header,.mwhib-receipt-pdf){background:#1e293b;border-color:#334155}
html[data-mwhib-publisher-theme=dark] .mwhib-receipt-action:not(.mwhib-receipt-primary){background:#26303b;color:#e2e8f0;border-color:#475569}
.mwhib-payroll-table-wrap table{min-width:660px!important}
