
/* ==================================================
   MFAE REPORTS & ANALYTICS — PREMIUM V1
   Presentation only. No reporting logic changes.
   ================================================== */

/* Report page typography */
.mfae-shell .content:has(button[onclick*="mfaeC13Reload"]) > h1 {
    font-size: 23px;
    font-weight: 750;
    letter-spacing: -.5px;
    color: #10264a;
    margin-bottom: 5px;
}

.mfae-shell .content:has(button[onclick*="mfaeC13Reload"]) > h1 + p {
    font-size: 12px;
    margin-bottom: 16px;
}

/* Report action buttons */
.mfae-shell .content button[onclick*="mfaeC13Reload"],
.mfae-shell .content button[onclick*="mfaeC13Export"] {
    border-radius: 8px;
    min-height: 36px;
    padding: 8px 14px;
    font-weight: 650;
}

.mfae-shell .content button[onclick*="mfaeC13Export"]:not(:disabled) {
    background: #2458d3;
    border-color: #2458d3;
    color: white;
}

/* Overview metric cards */
.mfae-shell .content:has(button[onclick*="mfaeC13Reload"])
  > div[style*="display:flex"] {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px !important;
    margin: 15px 0 20px;
}

.mfae-shell .content:has(button[onclick*="mfaeC13Reload"])
  > div[style*="display:flex"] > * {
    min-width: 0 !important;
    width: auto !important;
    flex: initial !important;
    border: 1px solid #dce5f2;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 3px 12px rgba(21, 44, 82, .035);
    padding: 16px !important;
}

/* Status reporting panels */
.mfae-shell .content:has(button[onclick*="mfaeC13Reload"]) .cols {
    gap: 12px;
    margin-bottom: 16px;
}

.mfae-shell .content:has(button[onclick*="mfaeC13Reload"]) .panel {
    border: 1px solid #dce5f2;
    border-radius: 12px;
    background: white;
    box-shadow: 0 3px 12px rgba(21, 44, 82, .025);
    padding: 16px;
}

.mfae-shell .content:has(button[onclick*="mfaeC13Reload"]) .panel h3 {
    color: #10264a;
    font-size: 14px;
    font-weight: 750;
    margin: 0 0 12px;
    text-transform: capitalize;
}

/* Workload table */
.mfae-shell .content:has(button[onclick*="mfaeC13Reload"]) table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.mfae-shell .content:has(button[onclick*="mfaeC13Reload"]) th {
    text-align: left;
    padding: 11px 12px;
    background: #f0f5fd;
    color: #18345d;
    font-weight: 700;
}

.mfae-shell .content:has(button[onclick*="mfaeC13Reload"]) td {
    padding: 11px 12px;
    border-bottom: 1px solid #e5ebf4;
}

/* Responsive layout */
@media (max-width: 1100px) {
    .mfae-shell .content:has(button[onclick*="mfaeC13Reload"])
      > div[style*="display:flex"] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .mfae-shell .content:has(button[onclick*="mfaeC13Reload"])
      > div[style*="display:flex"] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px !important;
    }

    .mfae-shell .content:has(button[onclick*="mfaeC13Reload"]) .panel {
        padding: 12px;
    }

    .mfae-shell .content:has(button[onclick*="mfaeC13Reload"]) table {
        font-size: 11px;
    }
}
