.mmu-fed-widget {
    width: 100%;
    box-sizing: border-box;
    padding: 24px 28px 22px;
    border-radius: 24px;
    background: #03070a;
    color: #f1f4f8;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.mmu-fed-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 36px;
}

.mmu-fed-header-left {
    display: flex;
    align-items: flex-start;
    gap: 28px;
    min-width: 0;
}

.mmu-fed-person-image {
    width: 192px;
    height: 128px;
    border-radius: 20px;
    overflow: hidden;
    flex-shrink: 0;
    background: #11171c;
}

.mmu-fed-person-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.mmu-fed-header-content h2,
.mmu-fed-header-content h3 {
    padding: 0;
}

.mmu-fed-header-content h2 {
    margin: -3px 0 8px;
    color: #f3f5f8;
    font-size: 28px;
    line-height: 1.15;
    font-weight: 700;
}

.mmu-fed-header-content h3 {
    margin: 0 0 24px;
    color: #edf0f4;
    font-size: 22px;
    line-height: 1.25;
    font-weight: 600;
}

.mmu-fed-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 28px;
}

.mmu-fed-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #969da9;
    font-size: 14px;
    line-height: 1.4;
    white-space: nowrap;
    max-width: 100%;
}

.mmu-fed-meta-item strong {
    color: #b7bec8;
    font-weight: 700;
}

.mmu-fed-as-of-item {
    padding: 7px 11px;
    margin: -7px -11px;
    border: 1px solid #26323b;
    border-radius: 10px;
    background: #0a1116;
}

.mmu-fed-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.mmu-fed-card {
    min-height: 190px;
    box-sizing: border-box;
    padding: 25px 24px 24px;
    border: 1px solid #1b2047;
    border-radius: 25px;
    background: linear-gradient(135deg, #0a1116 0%, #080d11 100%);
    min-width: 0;
    overflow: hidden;
}

.mmu-fed-card-label {
    margin-bottom: 32px;
    color: #9da5b2;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: 1.6px;
}

.mmu-fed-card-value {
    margin-bottom: 20px;
    color: #f2f5f8;
    font-size: clamp(24px, 2vw, 34px);
    line-height: 1.05;
    font-weight: 700;
    white-space: nowrap;
    max-width: 100%;
}

.mmu-fed-card-sub {
    color: #7d8490;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 400;
}

.mmu-fed-positive {
    color: #66d394;
}

.mmu-fed-outlook-text {
    color: #e2e5ea;
    font-weight: 600;
}

.mmu-fed-widget-error {
    display: flex;
    flex-direction: column;
    gap: 6px;
    border: 1px solid #56313a;
    background: #160c0f;
    color: #f5d5db;
}

.mmu-fed-widget-error span {
    color: #caa8ae;
    font-size: 14px;
}

@media (max-width: 1200px) {
    .mmu-fed-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .mmu-fed-widget {
        padding: 22px 16px;
        border-radius: 18px;
    }

    .mmu-fed-header {
        display: block;
        margin-bottom: 28px;
    }

    .mmu-fed-header-left {
        display: block;
    }

    .mmu-fed-person-image {
        width: 100%;
        max-width: 180px;
        height: 120px;
        margin-bottom: 22px;
    }

    .mmu-fed-header-content h2 {
        font-size: 24px;
    }

    .mmu-fed-header-content h3 {
        margin-bottom: 20px;
        font-size: 19px;
    }

    .mmu-fed-meta {
        display: grid;
        gap: 8px;
    }

    .mmu-fed-meta-item {
        white-space: normal;
        font-size: 14px;
    }

    .mmu-fed-as-of-item {
        width: fit-content;
        margin: 0;
    }

    .mmu-fed-cards {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .mmu-fed-card {
        min-height: 165px;
        border-radius: 20px;
    }

    .mmu-fed-card-label {
        margin-bottom: 24px;
    }

    .mmu-fed-card-value {
        font-size: 28px;
        white-space: normal;
    }
}
