.drr-fe .drr-fe-card{
  background:#fff;
  border:1px solid #dcdcde;
  border-radius:8px;
  padding:16px;
  margin:16px 0;
}
.drr-fe .drr-fe-grid{
  display:grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap:12px;
  align-items:end;
}
.drr-fe .drr-fe-actions{
  display:flex;
  gap:10px;
  align-items:center;
}
.drr-fe .drr-fe-table{
  width:100%;
  border-collapse:collapse;
}
.drr-fe .drr-fe-table th,
.drr-fe .drr-fe-table td{
  border-bottom:1px solid #e5e7eb;
  padding:8px;
  text-align:left;
}

/* Boxed table style (like overview plugin): full borders + emphasized footer */
.drr-fe .drr-fe-table--boxed{
  border:1px solid #dcdcde;
  border-collapse:collapse;
}
.drr-fe .drr-fe-table--boxed th,
.drr-fe .drr-fe-table--boxed td{
  border:1px solid #dcdcde;
}
.drr-fe .drr-fe-table--boxed thead th{
  background:#f6f7f7;
}
.drr-fe .drr-fe-table--boxed tfoot th,
.drr-fe .drr-fe-table--boxed tfoot td{
  font-weight:700;
  border-top:2px solid #a7aaad;
  /* User: first and last row grey (thead + tfoot) */
  background:#f6f7f7;
}

/* Also apply boxed look to WP core tables used in PT/OU templates (widefat/striped) */
.drr-fe table.widefat{
  border:1px solid #dcdcde;
  border-collapse:collapse;
}
.drr-fe table.widefat th,
.drr-fe table.widefat td{
  border:1px solid #dcdcde;
}
.drr-fe table.widefat thead th{
  background:#f6f7f7;
}
.drr-fe table.widefat tfoot th,
.drr-fe table.widefat tfoot td{
  background:#f6f7f7;
  font-weight:700;
  border-top:2px solid #a7aaad;
}

.drr-fe-controls{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:12px 0;}
.drr-fe-controls label{font-weight:600;}
#drr-fe-snapshot-status{margin-left:10px;}
#drr-fe-snapshot-status.drr-fe-error{color:#b32d2e;}
.drr-fe-box{background:#fff;border:1px solid #ddd;padding:12px;border-radius:6px;}


/* MLSKRR logo/header refinement - safe CSS only */
.drr-report-header img,
.drr-pdf-header img,
.drr-print-header img,
.drr-fe-report-header img,
img[src*="mkrr-logo-header"],
img[src*="mkrr-logo"],
img[src*="MLSKRR"],
img[src*="mlskrr"] {
    height:60px !important;
    max-height:60px !important;
    width: auto !important;
    max-width: 320px !important;
    object-fit: contain !important;
}

.drr-report-header,
.drr-pdf-header,
.drr-print-header,
.drr-fe-report-header {
    gap: 30px !important;
    align-items: center !important;
}

.drr-report-header .drr-ministry-name,
.drr-pdf-header .drr-ministry-name,
.drr-print-header .drr-ministry-name,
.drr-fe-report-header .drr-ministry-name {
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 22px !important;
    line-height: 1.22 !important;
    font-weight: 700 !important;
}




/* FORCE LARGE MLSKRR LOGO */
.drr-report-header img,
.drr-pdf-header img,
.drr-print-header img,
.drr-fe-report-header img,
img[src*="mkrr-logo-header"],
img[src*="mkrr-logo"],
img[src*="MLSKRR"],
img[src*="mlskrr"] {
    height:60px !important;
    max-height:60px !important;
    width: auto !important;
    max-width: 320px !important;
    object-fit: contain !important;
    margin-right: 0 !important;
    display:inline-block !important;
}
