.ead-wrap {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* ── Stat Cards ─────────────────────────────────────────────────────────────── */

.ead-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

@media (max-width: 1024px) { .ead-stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .ead-stats { grid-template-columns: 1fr; } }

.ead-stat-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: #fff;
    border: 1px solid #E8E4DC;
    border-radius: 12px;
}

.ead-stat-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    flex-shrink: 0;
}

.ead-stat-card__icon--teal   { background: #e6f2f5; color: #2C5F6F; }
.ead-stat-card__icon--orange { background: #fdf0ec; color: #E07856; }
.ead-stat-card__icon--blue   { background: #edf4ff; color: #1D4ED8; }
.ead-stat-card__icon--green  { background: #f0fdf4; color: #166534; }

.ead-stat-card__body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.ead-stat-card__label {
    font-size: 12px;
    font-weight: 600;
    color: #7A7A7A;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.ead-stat-card__value {
    font-size: 28px;
    font-weight: 700;
    color: #2D2D2D;
    line-height: 1;
}

.ead-stat-card__pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 4px;
}

.ead-pill {
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 100px;
}

.ead-pill--green { background: #f0fdf4; color: #166534; }
.ead-pill--amber { background: #fffbeb; color: #92400e; }
.ead-pill--grey  { background: #F0EDE6; color: #7A7A7A; }
.ead-pill--blue  { background: #edf4ff; color: #1D4ED8; }

/* ── Recent blocks ───────────────────────────────────────────────────────────── */

.ead-recent {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

@media (max-width: 900px) { .ead-recent { grid-template-columns: 1fr; } }

.ead-recent-block {
    background: #fff;
    border: 1px solid #E8E4DC;
    border-radius: 12px;
    overflow: hidden;
}

.ead-recent-block__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #E8E4DC;
}

.ead-recent-block__title {
    font-size: 14px;
    font-weight: 700;
    color: #2D2D2D;
    margin: 0;
}

.ead-recent-block__link {
    font-size: 12px;
    font-weight: 600;
    color: #2C5F6F;
    text-decoration: none;
}
.ead-recent-block__link:hover { text-decoration: underline; }

/* ── Table ───────────────────────────────────────────────────────────────────── */

.ead-table-wrap { overflow-x: auto; }

.ead-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.ead-table th {
    padding: 10px 16px;
    text-align: left;
    font-size: 11px;
    font-weight: 600;
    color: #7A7A7A;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    background: #FAF8F3;
    white-space: nowrap;
}

.ead-th--img { width: 44px; }

.ead-table td {
    padding: 10px 16px;
    color: #2D2D2D;
    border-bottom: 1px solid #F0EDE6;
    vertical-align: middle;
}

.ead-table tbody tr:last-child td { border-bottom: none; }
.ead-table tbody tr:hover td { background: #FAF8F3; }

.ead-thumb {
    width: 36px;
    height: 36px;
    object-fit: cover;
    border-radius: 6px;
    display: block;
}

.ead-thumb-placeholder {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    background: #F0EDE6;
    display: block;
}

.ead-empty { text-align: center; padding: 32px; color: #7A7A7A; }

/* ── Status badges ───────────────────────────────────────────────────────────── */

.ead-status {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.ead-status--publish,
.ead-status--completed  { background: #f0fdf4; color: #166534; }
.ead-status--pending    { background: #fffbeb; color: #92400e; }
.ead-status--processing { background: #edf4ff; color: #1D4ED8; }
.ead-status--draft,
.ead-status--on-hold,
.ead-status--cancelled  { background: #F0EDE6; color: #7A7A7A; }
