.product-shot {
    min-height: 236px;
    margin: 0 15px 15px;
    overflow: hidden;
    border: 1px solid #d9e0ea;
    border-radius: 12px;
    padding: 13px;
    color: #1d2939;
    background: #f7f9fc;
    font-size: 9px;
    line-height: 1.35;
}

.product-shot__tabs {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e4e7ec;
    color: #98a2b3;
    font-size: 8px;
    font-weight: 650;
}

.product-shot__tabs b {
    color: #175cd3;
}

.product-shot__heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
    padding: 11px 0 9px;
}

.product-shot__heading > div {
    min-width: 0;
    display: grid;
    gap: 2px;
}

.product-shot__heading span,
.product-shot__muted {
    color: #667085;
}

.product-shot__heading strong {
    overflow-wrap: anywhere;
    font-size: 12px;
    letter-spacing: -.02em;
}

.product-shot__as-of {
    flex: 0 0 auto;
    border: 1px solid #d0d5dd;
    border-radius: 999px;
    padding: 3px 6px;
    color: #667085;
    background: #fff;
    font-size: 7px;
    font-weight: 700;
}

.product-shot__metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
}

.product-shot__metric {
    min-width: 0;
    display: grid;
    gap: 4px;
    border: 1px solid #e4e7ec;
    border-radius: 8px;
    padding: 8px;
    background: #fff;
}

.product-shot__metric span {
    color: #667085;
    font-size: 7px;
}

.product-shot__metric strong {
    overflow-wrap: anywhere;
    font-size: 11px;
    letter-spacing: -.02em;
}

.product-shot__metric.is-danger strong {
    color: #b42318;
}

.product-shot__metric.is-warning strong {
    color: #b54708;
}

.product-shot__signal,
.product-shot__action-row,
.product-shot__aging {
    margin-top: 8px;
    border: 1px solid #e4e7ec;
    border-radius: 8px;
    background: #fff;
}

.product-shot__signal {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 9px;
}

.product-shot__signal > div {
    min-width: 0;
    display: grid;
    gap: 2px;
}

.product-shot__signal strong {
    overflow-wrap: anywhere;
    font-size: 9px;
}

.product-shot__signal span {
    color: #667085;
    font-size: 7px;
}

.product-shot__signal-badge {
    flex: 0 0 auto;
    border-radius: 999px;
    padding: 4px 6px;
    color: #b54708 !important;
    background: #fff7e8;
    font-weight: 750;
}

.product-shot__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin: 9px 0 8px;
}

.product-shot__chip {
    border: 1px solid #e4e7ec;
    border-radius: 999px;
    padding: 4px 7px;
    color: #475467;
    background: #fff;
    font-size: 7px;
    font-weight: 700;
}

.product-shot__chip.is-active {
    border-color: #b2ccff;
    color: #175cd3;
    background: #eef4ff;
}

.product-shot__action-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    padding: 10px;
}

.product-shot__action-copy {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.product-shot__action-copy strong {
    overflow-wrap: anywhere;
    font-size: 9px;
}

.product-shot__action-copy span {
    color: #667085;
    font-size: 7px;
}

.product-shot__money {
    color: #1d2939 !important;
    font-weight: 800;
}

.product-shot__button {
    border-radius: 6px;
    padding: 7px 8px;
    color: #fff;
    background: #175cd3;
    font-size: 7px;
    font-weight: 800;
    text-align: center;
    white-space: nowrap;
}

.product-shot__risk-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin-top: 9px;
}

.product-shot__risk-summary div {
    min-width: 0;
    display: grid;
    gap: 3px;
    border: 1px solid #e4e7ec;
    border-radius: 8px;
    padding: 7px;
    background: #fff;
}

.product-shot__risk-summary span {
    color: #667085;
    font-size: 7px;
}

.product-shot__risk-summary strong {
    overflow-wrap: anywhere;
    font-size: 10px;
}

.product-shot__risk-summary .is-danger {
    color: #b42318;
}

.product-shot__aging {
    overflow: hidden;
}

.product-shot__aging-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 7px 9px;
    border-bottom: 1px solid #e4e7ec;
    color: #344054;
    background: #f8fafc;
    font-weight: 800;
}

.product-shot__aging-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    padding: 6px 9px;
    border-bottom: 1px solid #f0f2f5;
}

.product-shot__aging-row:last-child {
    border-bottom: 0;
}

.product-shot__aging-row span {
    min-width: 0;
    overflow-wrap: anywhere;
}

.product-shot__aging-row span:last-child {
    font-weight: 750;
}

@media (max-width: 980px) {
    .product-shot {
        min-height: 220px;
        margin: 15px;
    }
}

@media (max-width: 760px) {
    .product-shot {
        min-height: 0;
        margin: 12px;
        padding: 11px;
        font-size: 10px;
    }

    .product-shot__heading {
        align-items: flex-start;
    }

    .product-shot__heading strong {
        font-size: 13px;
    }

    .product-shot__metrics,
    .product-shot__risk-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .product-shot__metrics .product-shot__metric:last-child,
    .product-shot__risk-summary div:last-child {
        grid-column: 1 / -1;
    }

    .product-shot__metric span,
    .product-shot__signal span,
    .product-shot__action-copy span,
    .product-shot__risk-summary span {
        font-size: 8px;
    }

    .product-shot__metric strong {
        font-size: 12px;
    }

    .product-shot__signal {
        align-items: flex-start;
        flex-direction: column;
    }

    .product-shot__signal strong,
    .product-shot__action-copy strong {
        font-size: 10px;
    }

    .product-shot__signal-badge {
        align-self: flex-start;
    }

    .product-shot__chip {
        font-size: 8px;
    }

    .product-shot__action-row {
        grid-template-columns: 1fr;
        align-items: stretch;
        gap: 8px;
    }

    .product-shot__button {
        width: 100%;
        min-height: 36px;
        display: grid;
        place-items: center;
        font-size: 8px;
        white-space: normal;
    }

    .product-shot__risk-summary strong {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .product-shot {
        margin: 10px;
        border-radius: 10px;
    }

    .product-shot__tabs {
        gap: 8px;
        font-size: 8px;
    }

    .product-shot__as-of {
        display: none;
    }

    .product-shot__aging-title,
    .product-shot__aging-row {
        padding-inline: 8px;
    }
}
