/**
 * Billing handoff on the public subscribe / onboarding pages.
 *
 * Shown instead of the plan grid when the signed-in owner already has a live
 * plan. Plan changes go through the Stripe Billing Portal, never a second
 * checkout. Uses the landing page tokens so it sits inside the existing card.
 */

.rou-saas-billing {
    margin: 0 0 1.5rem;
    padding: 1.15rem 0 0;
    border: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    background: transparent;
}

.rou-saas-billing__heading {
    margin: 0 0 0.5rem;
    font-family: inherit;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--rou-charcoal, #1c1917);
}

.rou-saas-billing__summary {
    margin: 0 0 0.75rem;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--rou-gray, #57534e);
}

.rou-saas-billing__status {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0 0 1rem;
    font-size: 0.9rem;
    color: var(--rou-charcoal, #1c1917);
}

.rou-saas-billing__status-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--rou-gray, #57534e);
}

.rou-saas-billing__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    margin: 0 0 0.75rem;
}

.rou-saas-billing__secondary {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--rou-charcoal, #1c1917);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.rou-saas-billing__hint {
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--rou-gray, #57534e);
}

@media (max-width: 480px) {
    .rou-saas-billing__actions .btn-primary {
        width: 100%;
        text-align: center;
    }
}
