.mbio-lista {
    --mbio-accent: #f58220;
    --mbio-blue: #004b8d;
    --mbio-blue-2: #2f75b5;
    --mbio-orange: #f58220;
    --mbio-border: #c8dbef;
    --mbio-soft: #f7fbff;
    display: flex;
    flex-direction: column;
    gap: 13px;
    width: 100%;
    max-width: 810px;
    margin: 0 auto;
    color: #003b6f;
    font-family: inherit;
}

.mbio-lista-vazia {
    padding: 16px 18px;
    border: 1px solid var(--mbio-border);
    border-radius: 6px;
    background: #ffffff;
    color: var(--mbio-blue);
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(0, 75, 141, 0.06);
}

.mbio-grupo {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin: 20px 0 0;
    padding: 0 0 7px;
    border-bottom: 3px solid var(--mbio-orange);
    color: var(--mbio-blue);
    font-size: 16px;
    font-weight: 800;
    line-height: 1.25;
}

.mbio-grupo:first-child {
    margin-top: 0;
}

.mbio-item {
    overflow: hidden;
    border-left: 4px solid var(--mbio-accent);
    border-top: 1px solid #e8f0f9;
    border-right: 1px solid #e8f0f9;
    border-bottom: 1px solid #e8f0f9;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(0, 75, 141, 0.09);
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.mbio-item:hover {
    border-top-color: var(--mbio-blue-2);
    border-right-color: var(--mbio-blue-2);
    border-bottom-color: var(--mbio-blue-2);
    box-shadow: 0 10px 24px rgba(0, 75, 141, 0.1);
}

.mbio-card-trigger {
    appearance: none;
    position: relative;
    display: flex !important;
    align-items: center;
    justify-content: flex-start !important;
    gap: 19px;
    width: 100% !important;
    max-width: none !important;
    padding: 20px 66px 18px 20px;
    border: 0 !important;
    background: transparent !important;
    color: inherit;
    font: inherit;
    line-height: normal;
    text-align: left;
    text-decoration: none;
    text-transform: none;
    cursor: pointer;
    box-shadow: none !important;
}

.mbio-card-trigger:hover,
.mbio-card-trigger:focus {
    background: transparent !important;
    color: inherit;
    text-decoration: none;
    box-shadow: none !important;
}

.mbio-card-trigger:focus-visible {
    outline: none;
}

.mbio-avatar,
.mbio-foto,
.mbio-avatar-placeholder {
    width: 52px;
    height: 52px;
}

.mbio-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 52px;
}

.mbio-foto,
.mbio-avatar-placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
}

.mbio-foto {
    object-fit: cover;
}

.mbio-avatar-placeholder {
    border: 1px solid #d8e0e8;
    background: #eef2f6;
    color: #8b98a7;
    font-size: 15px;
    font-weight: 800;
}

.mbio-user-icon {
    width: 26px;
    height: 26px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.mbio-info {
    display: flex;
    min-width: 0;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.mbio-nome {
    display: block;
    width: 100%;
    margin: 0 0 5px;
    color: var(--mbio-blue);
    font-size: 16px;
    font-weight: 800;
    line-height: 1.22;
    overflow-wrap: anywhere;
}

.mbio-linha {
    display: block;
    width: 100%;
    margin: 0 0 9px;
    color: #355b7d;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.mbio-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    min-width: 0;
    text-align: left;
}

.mbio-pill {
    display: inline-flex;
    align-items: center;
    max-width: 260px;
    min-height: 21px;
    gap: 5px;
    padding: 3px 9px 4px;
    border: 1px solid #d7e7f8;
    border-radius: 999px;
    background: var(--mbio-soft);
    color: var(--mbio-blue);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.1;
}

.mbio-pill span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mbio-pill-badge {
    border-color: #ffdcb8;
    background: #fff8f1;
    color: #9a4f00;
}

.mbio-icon {
    width: 13px;
    height: 13px;
    flex: 0 0 13px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.mbio-chevron {
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    margin-left: 0;
    border: 1px solid #d6e5f5;
    border-radius: 999px;
    background: #f8fbff;
    color: var(--mbio-blue);
}

.mbio-chevron-icon {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    transform-origin: center;
    transition: transform 180ms ease;
}

.mbio-item.is-open .mbio-chevron-icon {
    transform: rotate(180deg);
}

.mbio-panel {
    padding: 0 18px 18px 78px;
}

.mbio-panel-inner {
    border: 1px solid #d7e6f5;
    border-radius: 8px;
    background: linear-gradient(180deg, #ffffff 0%, #f9fcff 100%);
    padding: 16px 18px 17px;
}

.mbio-bio-title {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 16px;
    padding-bottom: 7px;
    border-bottom: 3px solid var(--mbio-orange);
    color: var(--mbio-blue);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.2;
}

.mbio-bio-icon {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.mbio-bio {
    color: #315777;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.72;
}

.mbio-bio > :first-child {
    margin-top: 0;
}

.mbio-bio > :last-child {
    margin-bottom: 0;
}

.mbio-carousel {
    --mbio-accent: #f58220;
    --mbio-blue: #004b8d;
    --mbio-blue-2: #2f75b5;
    --mbio-orange: #f58220;
    --mbio-soft: #f7fbff;
    --mbio-slide-width: 252px;
    width: 100%;
    max-width: 1045px;
    margin: 0 auto;
    color: #003b6f;
    font-family: inherit;
}

.mbio-carousel,
.mbio-carousel * {
    box-sizing: border-box;
}

.mbio-carousel-title {
    position: relative;
    margin: 0 0 28px;
    padding: 0 0 10px;
    border-bottom: 1px solid #d8e6f5;
    color: #0b0f14;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.2;
}

.mbio-carousel-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 54px;
    height: 2px;
    background: linear-gradient(90deg, var(--mbio-blue) 0 50%, var(--mbio-orange) 50% 100%);
}

.mbio-carousel-frame {
    position: relative;
    overflow: hidden;
    padding: 0 56px;
}

.mbio-carousel-track {
    display: flex;
    align-items: stretch;
    gap: 18px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-padding: 0;
    scroll-snap-type: x mandatory;
    padding: 8px 0 24px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.mbio-carousel-track::-webkit-scrollbar {
    display: none;
}

.mbio-slide {
    flex: 0 0 var(--mbio-slide-width) !important;
    display: flex;
    width: var(--mbio-slide-width) !important;
    min-width: var(--mbio-slide-width) !important;
    max-width: var(--mbio-slide-width) !important;
    min-inline-size: var(--mbio-slide-width) !important;
    max-inline-size: var(--mbio-slide-width) !important;
    overflow: hidden;
    scroll-snap-align: start;
}

.mbio-slide-card {
    appearance: none;
    position: relative;
    display: flex !important;
    flex: 0 0 auto !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    inline-size: 100% !important;
    min-inline-size: 0 !important;
    max-inline-size: 100% !important;
    height: 330px;
    min-height: 330px;
    max-height: 330px;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    padding: 24px 22px 22px;
    border: 1px solid #edf2f7 !important;
    border-top: 4px solid var(--mbio-accent) !important;
    border-radius: 8px;
    background: #ffffff !important;
    color: inherit;
    font: inherit;
    text-align: center;
    text-decoration: none;
    text-transform: none;
    box-shadow: 0 12px 28px rgba(0, 75, 141, 0.09) !important;
    cursor: pointer;
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.mbio-slide-card:hover,
.mbio-slide-card:focus {
    background: #ffffff !important;
    color: inherit;
    text-decoration: none;
    box-shadow: 0 14px 32px rgba(0, 75, 141, 0.14) !important;
    transform: translateY(-2px);
}

.mbio-slide-card:focus-visible {
    outline: 3px solid rgba(245, 130, 32, 0.28);
    outline-offset: 3px;
}

.mbio-slide-top {
    position: absolute;
    inset: 0 0 auto;
    height: 104px;
    background: linear-gradient(135deg, #ffffff 0%, #ffffff 46%, #eef6ff 46%, #eef6ff 100%);
    opacity: 0.95;
    pointer-events: none;
}

.mbio-slide-avatar {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 104px;
    height: 104px;
    margin-bottom: 14px;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 0 0 4px #ffffff, 0 8px 18px rgba(0, 75, 141, 0.14);
}

.mbio-slide-foto,
.mbio-slide-placeholder {
    display: inline-flex;
    width: 96px;
    height: 96px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
}

.mbio-slide-foto {
    object-fit: cover;
}

.mbio-slide-placeholder {
    border: 1px solid #d8e0e8;
    background: #eef2f6;
    color: #8b98a7;
}

.mbio-slide-placeholder .mbio-user-icon {
    width: 42px;
    height: 42px;
}

.mbio-slide-group {
    display: -webkit-box;
    width: 100%;
    max-width: 100%;
    min-height: 27px;
    margin: 0 0 7px;
    color: var(--mbio-orange);
    font-size: 11px;
    font-weight: 800;
    line-height: 1.2;
    overflow: hidden;
    overflow-wrap: anywhere;
    white-space: normal !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.mbio-slide-name {
    display: -webkit-box;
    width: 100%;
    max-width: 100%;
    min-height: 69px;
    margin: 0;
    color: #0b0f14;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.42;
    overflow: hidden;
    overflow-wrap: anywhere;
    word-break: normal;
    hyphens: auto;
    white-space: normal !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.mbio-slide-line {
    display: -webkit-box;
    width: 100%;
    max-width: 100%;
    min-height: 34px;
    margin: 8px 0 10px;
    color: #315777;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
    overflow: hidden;
    overflow-wrap: anywhere;
    white-space: normal !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.mbio-slide-meta {
    display: flex;
    width: 100%;
    justify-content: center;
    gap: 6px;
    margin-top: auto;
    min-height: 26px;
    overflow: hidden;
}

.mbio-slide-pill {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    max-width: 100%;
    min-height: 26px;
    gap: 6px;
    padding: 5px 10px;
    border: 1px solid #e0ebf6;
    border-radius: 999px;
    background: #f8fafc;
    color: #586575;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.1;
}

.mbio-slide-pill span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mbio-slide-pill-badge {
    border-color: #ffdcb8;
    background: #fff8f1;
    color: #9a4f00;
}

.mbio-carousel-arrow {
    appearance: none;
    position: absolute;
    z-index: 3;
    top: 50%;
    display: inline-flex;
    width: 42px;
    height: 42px;
    min-width: 42px !important;
    max-width: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    border: 1px solid #e1ebf5 !important;
    border-radius: 999px;
    background: #ffffff !important;
    color: var(--mbio-blue);
    font-size: 0 !important;
    line-height: 1 !important;
    box-shadow: 0 8px 20px rgba(0, 75, 141, 0.12) !important;
    cursor: pointer;
    transform: translateY(-50%);
}

.mbio-carousel-arrow:hover,
.mbio-carousel-arrow:focus {
    background: #ffffff !important;
    color: var(--mbio-orange);
    box-shadow: 0 10px 24px rgba(0, 75, 141, 0.16) !important;
}

.mbio-carousel-arrow:focus-visible {
    outline: 3px solid rgba(245, 130, 32, 0.26);
    outline-offset: 3px;
}

.mbio-carousel-prev {
    left: 0;
}

.mbio-carousel-next {
    right: 0;
}

.mbio-arrow-icon,
.mbio-close-icon {
    display: block;
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.mbio-carousel-actions {
    display: flex;
    justify-content: center;
    margin: 10px 0 0;
}

.mbio-carousel-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 20px;
    border: 1px solid var(--mbio-blue);
    border-radius: 6px;
    background: var(--mbio-blue);
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    text-decoration: none !important;
    box-shadow: 0 10px 22px rgba(0, 75, 141, 0.16);
    transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.mbio-carousel-cta:hover,
.mbio-carousel-cta:focus {
    border-color: var(--mbio-orange);
    background: var(--mbio-orange);
    color: #ffffff !important;
    text-decoration: none !important;
    box-shadow: 0 12px 26px rgba(245, 130, 32, 0.22);
    transform: translateY(-1px);
}

.mbio-carousel-cta:focus-visible {
    outline: 3px solid rgba(245, 130, 32, 0.28);
    outline-offset: 3px;
}

.mbio-modal[hidden] {
    display: none;
}

body.mbio-modal-open {
    overflow: hidden;
}

.mbio-modal {
    position: fixed;
    z-index: 99999;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 20px;
}

.mbio-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 35, 67, 0.42);
}

.mbio-modal-box {
    position: relative;
    z-index: 1;
    width: min(720px, 100%);
    max-height: min(78vh, 760px);
    overflow: auto;
    padding: 24px;
    border: 1px solid #d7e6f5;
    border-top: 4px solid var(--mbio-orange);
    border-radius: 8px;
    background: #ffffff;
    color: #315777;
    box-shadow: 0 24px 70px rgba(0, 35, 67, 0.28);
}

.mbio-modal-close {
    appearance: none;
    position: absolute;
    top: 12px;
    right: 12px;
    display: inline-flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    border: 1px solid #d7e6f5 !important;
    border-radius: 999px;
    background: #f8fbff !important;
    color: var(--mbio-blue);
    cursor: pointer;
}

.mbio-modal-title {
    margin: 0 44px 6px 0;
    color: var(--mbio-blue);
    font-size: 22px;
    font-weight: 800;
    line-height: 1.25;
}

.mbio-modal-line {
    margin: 0 44px 18px 0;
    color: #315777;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
}

.mbio-modal-bio {
    color: #315777;
    font-size: 14px;
    line-height: 1.72;
}

.mbio-modal-bio > :first-child {
    margin-top: 0;
}

.mbio-modal-bio > :last-child {
    margin-bottom: 0;
}

@media (max-width: 640px) {
    .mbio-lista {
        gap: 12px;
    }

    .mbio-card-trigger {
        gap: 13px;
        padding: 16px 54px 15px 14px;
    }

    .mbio-avatar,
    .mbio-foto,
    .mbio-avatar-placeholder {
        width: 44px;
        height: 44px;
    }

    .mbio-avatar {
        flex-basis: 44px;
    }

    .mbio-nome {
        font-size: 15px;
    }

    .mbio-linha {
        font-size: 12px;
    }

    .mbio-pill {
        max-width: min(230px, 100%);
    }

    .mbio-chevron {
        right: 12px;
        width: 30px;
        height: 30px;
        flex-basis: 30px;
    }

    .mbio-panel {
        padding: 0 12px 14px;
    }

    .mbio-panel-inner {
        padding: 14px;
    }

    .mbio-carousel-title {
        font-size: 20px;
        margin-bottom: 18px;
    }

    .mbio-carousel-frame {
        --mbio-slide-width: min(252px, calc(100vw - 112px));
        padding: 0 42px;
    }

    .mbio-carousel-track {
        gap: 14px;
        padding: 8px 0 22px;
        scroll-padding: 0;
    }

    .mbio-slide-card {
        height: 350px;
        min-height: 350px;
        max-height: 350px;
    }

    .mbio-slide-name {
        min-height: 85px;
        font-size: 15px;
        line-height: 1.42;
        -webkit-line-clamp: 4;
    }

    .mbio-carousel-prev {
        left: 0;
    }

    .mbio-carousel-next {
        right: 0;
    }

    .mbio-carousel-arrow {
        width: 38px;
        height: 38px;
    }

    .mbio-carousel-actions {
        margin-top: 8px;
    }

    .mbio-carousel-cta {
        width: min(100%, 260px);
    }

    .mbio-modal-box {
        padding: 20px;
    }
}
