/* ===== Price History: Tier Cards ===== */
.tph-tiers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 12px;
    margin-bottom: 24px;
}

.tph-tier {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 14px 12px;
    text-align: center;
}

.tph-tier__name {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.tph-tier__price {
    display: block;
    font-size: 22px;
    font-weight: 700;
    color: #212529;
}

.tph-tier__price--custom {
    font-size: 16px;
    color: #adb5bd;
    font-style: italic;
}

.tph-tier__billing {
    font-size: 11px;
    color: #6c757d;
}

/* ===== Chart Container ===== */
.tph-chart-wrap {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
}

/* ===== Collapsible Table ===== */
.tph-table-wrap {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
}

.tph-table-wrap > summary {
    padding: 12px 16px;
    background: #f8f9fa;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    color: #495057;
    list-style: none;
}

.tph-table-wrap > summary::-webkit-details-marker { display: none; }

.tph-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.tph-table th {
    padding: 8px 16px;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    color: #6c757d;
    font-weight: 600;
    text-align: left;
}

.tph-table td {
    padding: 8px 16px;
    border-bottom: 1px solid #f0f0f0;
    color: #495057;
}

/* ===== Price Change Badge ===== */
.tph-badge--up {
    display: inline-block;
    background: #fff3cd;
    color: #b45309;
    font-size: 11px;
    border-radius: 3px;
    padding: 1px 5px;
    margin-left: 4px;
    font-weight: 600;
}
