.tipo45-chart {
    display: block !important;
    width: 100%;
    min-width: 0;
    height: 100%;
    color: #334155;
}

.tipo45-scroll {
    display: flex;
    width: 100%;
    height: 100%;
    padding: 4px;
    align-items: stretch;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-color: #cbd5e1 transparent;
    scrollbar-width: thin;
}

.tipo45-card {
    display: flex;
    width: var(--tipo45-width, 310px);
    min-width: 300px;
    min-width: min(var(--tipo45-width, 310px), 100%);
    height: calc(100% - 8px);
    min-height: 245px;
    padding: 16px;
    flex: 0 0 var(--tipo45-width, 310px);
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #d7e0e8;
    border-radius: 12px;
    background: #fff;
    background:
        radial-gradient(circle at 8% 0%, color-mix(in srgb, var(--tipo45-color) 9%, transparent), transparent 40%),
        linear-gradient(180deg, #fff 0%, #f5f8fb 100%);
    box-shadow: 0 5px 16px rgba(15, 23, 42, .06);
    vertical-align: top;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.tipo45-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .1);
    transform: translateY(-1px);
}

.tipo45-card__hero {
    display: grid;
    min-height: 132px;
    padding-bottom: 14px;
    grid-template-columns: 106px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    border-bottom: 1px solid #edf1f5;
}

.tipo45-card__gauge,
.tipo45-card__metric {
    position: relative;
    display: flex;
    width: 104px;
    height: 104px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #fff;
}

.tipo45-card__gauge svg {
    width: 104px !important;
    height: 104px !important;
    border-radius: 50%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 62px 62px;
}

.tipo45-card__metric {
    border: 10px solid var(--tipo45-color);
    color: var(--tipo45-color);
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -.03em;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .8), 0 8px 18px rgba(15, 23, 42, .09);
}

.tipo45-card__metric--full {
    border-color: var(--tipo45-color);
    background: var(--tipo45-color);
    color: #fff;
}

.tipo45-card__summary {
    min-width: 0;
    white-space: normal;
}

.tipo45-card__title {
    display: -webkit-box;
    min-height: 38px;
    margin: 0 0 5px;
    overflow: hidden;
    color: #1e293b;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -.01em;
    line-height: 1.25;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.tipo45-card__subtitle {
    min-height: 16px;
    margin: 0 0 5px;
    overflow: hidden;
    color: #64748b;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tipo45-card__value,
.tipo45-card__circle-value {
    margin: 0;
    color: var(--tipo45-color);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1.05;
}

.tipo45-card__circle-value {
    margin-bottom: 4px;
    font-size: 18px;
}

.tipo45-card__label {
    margin: 4px 0 0;
    color: var(--tipo45-color);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .025em;
    line-height: 1.2;
}

.tipo45-card__details {
    min-height: 0;
    padding-top: 8px;
    flex: 1;
    overflow-y: auto;
    scrollbar-color: #cbd5e1 transparent;
    scrollbar-width: thin;
}

.tipo45-detail {
    display: grid;
    min-height: 38px;
    padding: 7px 4px;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #f0f3f7;
}

.tipo45-detail:last-child {
    border-bottom: 0;
}

.tipo45-detail__identity {
    display: flex;
    min-width: 0;
    align-items: center;
}

.tipo45-detail__image {
    max-width: 105px;
    max-height: 28px;
    object-fit: contain;
}

.tipo45-detail__text {
    overflow: hidden;
    color: #475569;
    font-size: 11px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tipo45-detail__metric {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    color: var(--tipo45-detail-color);
    white-space: nowrap;
}

.tipo45-detail__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--tipo45-detail-color);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--tipo45-detail-color) 14%, transparent);
}

.tipo45-detail__value {
    font-size: 12px;
    font-weight: 800;
}

@supports not (background: color-mix(in srgb, #000 10%, transparent)) {
    .tipo45-card {
        background: linear-gradient(180deg, #fff 0%, #f5f8fb 100%);
    }

    .tipo45-detail__dot {
        box-shadow: none;
    }
}

@media (max-width: 767px) {
    .tipo45-card {
        width: min(292px, calc(100vw - 48px));
        min-width: min(292px, calc(100vw - 48px));
        flex-basis: min(292px, calc(100vw - 48px));
        padding: 13px;
    }

    .tipo45-card__hero {
        grid-template-columns: 92px minmax(0, 1fr);
        gap: 11px;
    }

    .tipo45-card__gauge,
    .tipo45-card__metric,
    .tipo45-card__gauge svg {
        width: 90px !important;
        height: 90px !important;
    }
}
