.eac-mhp {
    --eac-blue: #1f5a85;
    --eac-blue-soft: #e9f3f8;
    --eac-green: #0f7a3b;
    --eac-orange: #b75d00;
    --eac-red: #b42318;
    --eac-grey: #64748b;
    --eac-border: #d7dde5;
    font-family: Arial, Helvetica, sans-serif;
    color: #1f2937;
    max-width: 1200px;
    margin: 0 auto 24px;
}
.eac-mhp * { box-sizing: border-box; }
.eac-mhp-header {
    display: flex;
    gap: 16px;
    justify-content: space-between;
    align-items: stretch;
    margin: 0 0 18px;
    padding: 16px;
    background: #fff;
    border: 1px solid var(--eac-border);
    border-radius: 12px;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.06);
}
.eac-mhp-header h2 { margin: 0 0 6px; color: var(--eac-blue); font-size: 26px; }
.eac-mhp-header p { margin: 0; color: #556274; }
.eac-mhp-status {
    min-width: 260px;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid var(--eac-border);
    background: #f8fafc;
}
.eac-mhp-status-green, .eac-mhp-status-widget-green { border-color: rgba(15, 122, 59, 0.35); background: #ecfdf3; color: var(--eac-green); }
.eac-mhp-status-orange, .eac-mhp-status-widget-orange { border-color: rgba(183, 93, 0, 0.35); background: #fff7ed; color: var(--eac-orange); }
.eac-mhp-status-red, .eac-mhp-status-widget-red { border-color: rgba(180, 35, 24, 0.35); background: #fef3f2; color: var(--eac-red); }
.eac-mhp-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 0 0 18px;
}
.eac-mhp-card {
    padding: 16px;
    background: #fff;
    border: 1px solid var(--eac-border);
    border-radius: 12px;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.05);
}
.eac-mhp-card span { display: block; color: #64748b; font-size: 13px; margin-bottom: 6px; }
.eac-mhp-card strong { display: block; color: var(--eac-blue); font-size: 22px; line-height: 1.2; }
.eac-mhp-section {
    margin: 18px 0;
    padding: 16px;
    background: #fff;
    border: 1px solid var(--eac-border);
    border-radius: 12px;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.05);
}
.eac-mhp-section h3 { margin: 0 0 12px; color: var(--eac-blue); font-size: 20px; }
.eac-mhp-section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}
.eac-mhp-section-title h3 { margin: 0; }
.eac-mhp-two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.eac-mhp-table-scroll { overflow-x: auto; }
.eac-mhp-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    background: #fff;
}
.eac-mhp-table th, .eac-mhp-table td {
    border: 1px solid var(--eac-border);
    padding: 9px 10px;
    vertical-align: top;
    text-align: left;
}
.eac-mhp-table th {
    background: var(--eac-blue);
    color: #fff;
    font-weight: 700;
}
.eac-mhp-total-row td { background: var(--eac-blue-soft); }
.eac-mhp-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 3px 9px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}
.eac-mhp-pill-green { background: #dcfce7; color: var(--eac-green); }
.eac-mhp-pill-orange { background: #ffedd5; color: var(--eac-orange); }
.eac-mhp-pill-red { background: #fee2e2; color: var(--eac-red); }
.eac-mhp-pill-grey { background: #e2e8f0; color: #475569; }
.eac-mhp-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 12px;
}
.eac-mhp label { display: block; font-weight: 700; margin: 10px 0 6px; color: #334155; }
.eac-mhp input[type="text"],
.eac-mhp input[type="number"],
.eac-mhp input[type="date"],
.eac-mhp input[type="file"],
.eac-mhp select,
.eac-mhp textarea {
    width: 100%;
    max-width: 100%;
    padding: 7px 8px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: #fff;
    color: #1f2937;
    font-weight: 400;
}
.eac-mhp textarea { min-width: 180px; }
.eac-mhp-edit-table input,
.eac-mhp-edit-table select,
.eac-mhp-edit-table textarea { min-width: 120px; }
.eac-mhp-number { max-width: 110px; }
.eac-mhp-actions { margin: 18px 0 0; }
.eac-mhp-secondary-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin: 18px 0;
    padding: 14px;
    border: 1px dashed var(--eac-border);
    border-radius: 10px;
    background: #f8fafc;
}
.eac-mhp-secondary-actions form { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0; }
.eac-mhp-upload-label { display: flex !important; gap: 8px; align-items: center; margin: 0 !important; }
.eac-mhp-danger { color: var(--eac-red) !important; border-color: rgba(180, 35, 24, 0.45) !important; }
.eac-mhp-notice {
    padding: 12px 14px;
    margin: 12px 0;
    border-radius: 8px;
    border: 1px solid var(--eac-border);
    background: #f8fafc;
}
.eac-mhp-notice-success { background: #ecfdf3; border-color: #86efac; color: var(--eac-green); }
.eac-mhp-notice-error { background: #fef3f2; border-color: #fca5a5; color: var(--eac-red); }
.eac-mhp-warning { color: var(--eac-orange); font-weight: 700; }
.eac-mhp-ok { color: var(--eac-green); font-weight: 700; }
.eac-mhp-muted { color: #64748b; font-size: 13px; }
.eac-mhp-conclusion { padding: 12px; background: #f8fafc; border-left: 4px solid var(--eac-blue); margin: 12px 0 0; }
.eac-mhp-triggers { display: flex; flex-wrap: wrap; gap: 8px; }
.eac-mhp-triggers span { padding: 7px 10px; background: var(--eac-blue-soft); color: var(--eac-blue); border-radius: 999px; font-size: 13px; }
.eac-mhp-status-widget {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 12px;
    border: 1px solid var(--eac-border);
    border-radius: 10px;
    background: #fff;
    max-width: 520px;
}
.eac-mhp-status-dot {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: currentColor;
    margin-top: 3px;
    flex: 0 0 auto;
}
.eac-mhp-status-widget-body strong,
.eac-mhp-status-widget-body span,
.eac-mhp-status-widget-body small,
.eac-mhp-status-widget-body a { display: block; margin-bottom: 4px; }
.eac-mhp-inline-actions { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.eac-mhp-approval-form textarea { min-width: 180px; }
@media (max-width: 900px) {
    .eac-mhp-header, .eac-mhp-two-col { display: block; }
    .eac-mhp-status { margin-top: 12px; }
    .eac-mhp-cards, .eac-mhp-form-grid { grid-template-columns: 1fr; }
}
