.idwsp-pricing {
    --idwsp-border: currentColor;
    --idwsp-muted-bg: rgba(127, 127, 127, 0.08);
    --idwsp-active-bg: rgba(127, 127, 127, 0.14);
    margin: 1.25rem 0;
}

.idwsp-heading {
    margin: 0 0 0.75rem;
    font-size: 1.15em;
}

.idwsp-message {
    padding: 0.75rem;
    background: var(--idwsp-muted-bg);
    border-left: 0.25rem solid currentColor;
}

.idwsp-best-price {
    margin: 0 0 0.65rem;
    font-weight: 700;
}

.idwsp-table-scroll {
    max-width: 100%;
    overflow-x: auto;
    outline-offset: 0.2rem;
}

.idwsp-table {
    width: 100%;
    min-width: 28rem;
    margin: 0;
    border-collapse: collapse;
}

.idwsp-table th,
.idwsp-table td {
    padding: 0.65rem 0.75rem;
    text-align: left;
    vertical-align: top;
    border: 1px solid rgba(127, 127, 127, 0.35);
    border-color: color-mix(in srgb, currentColor 30%, transparent);
}

.idwsp-table thead th {
    font-weight: 700;
    background: var(--idwsp-muted-bg);
}

.idwsp-table tbody tr.is-active > * {
    background: var(--idwsp-active-bg);
    font-weight: 700;
}

.idwsp-active-marker {
    display: inline-block;
    padding: 0.1rem 0.4rem;
    font-size: 0.85em;
    border: 1px solid currentColor;
    border-radius: 999px;
}

.idwsp-live-summary {
    margin-top: 0.75rem;
}

.idwsp-live-summary dl {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
    gap: 0.5rem;
    margin: 0;
}

.idwsp-live-summary dl > div {
    padding: 0.6rem 0.75rem;
    background: var(--idwsp-muted-bg);
}

.idwsp-live-summary dt {
    margin: 0 0 0.15rem;
    font-size: 0.88em;
}

.idwsp-live-summary dd {
    margin: 0;
    font-weight: 700;
}

@media (max-width: 36rem) {
    .idwsp-table {
        min-width: 24rem;
    }

    .idwsp-table th,
    .idwsp-table td {
        padding: 0.55rem;
    }
}

.idwsp-purchase-price {
    margin: 0.9rem 0 0.75rem;
}

.idwsp-purchase-price > .price {
    display: inline-block;
    margin: 0;
}

.idwsp-table th,
.idwsp-live-summary dt,
.idwsp-live-summary dd,
.idwsp-best-price {
    overflow-wrap: anywhere;
}
