/* BOX v-1 / v3 — Pricing. Operational price/variation hooks stay in markup. */
body.cloudbox-self-hosted-page .self-hosted-pricing {
    display: flex;
    flex-direction: column;
    gap: 28px;
    align-items: center;
}
body.cloudbox-self-hosted-page .self-hosted-pricing__header {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}
body.cloudbox-self-hosted-page .self-hosted-pricing__cards {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}
body.cloudbox-self-hosted-page .self-hosted-pricing-card {
    min-width: 0;
    min-height: 240px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 24px 28px 26px;
    overflow: hidden;
    border: 1px solid #c9ddd5;
    border-radius: 18px;
    background: #f2f8f5;
    color: #16211e;
}
body.cloudbox-self-hosted-page .self-hosted-pricing-card--enterprise {
    border-color: var(--self-hosted-green);
    background: var(--self-hosted-green);
    color: #fff;
}
body.cloudbox-self-hosted-page .self-hosted-pricing-card__meta {
    min-width: 0;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    color: #7a8e86;
    font-size: 12px;
    font-weight: 500;
    line-height: 18px;
}
body.cloudbox-self-hosted-page .self-hosted-pricing-card--enterprise .self-hosted-pricing-card__meta { color: #cfe8df; }
body.cloudbox-self-hosted-page .self-hosted-pricing-card__title-row {
    min-width: 0;
    min-height: 44px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}
body.cloudbox-self-hosted-page .self-hosted-pricing-card__title-row h3 {
    color: inherit;
    font-size: 25px;
    font-weight: 500;
    line-height: 38px;
}
body.cloudbox-self-hosted-page .self-hosted-pricing-users {
    min-width: 0;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
body.cloudbox-self-hosted-page .self-hosted-pricing-users__button {
    width: 50px;
    height: 40px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 20px;
    background: transparent;
    color: #24332e;
    font-size: 16px;
    line-height: 36px;
    text-align: center;
    cursor: pointer;
}
body.cloudbox-self-hosted-page .self-hosted-pricing-users__button.is-active {
    border-color: var(--self-hosted-green);
    background: #fff;
}
body.cloudbox-self-hosted-page .self-hosted-pricing-card__enterprise-users {
    padding-top: 2px;
    font-size: 17px;
    line-height: 38px;
}
body.cloudbox-self-hosted-page .self-hosted-pricing-card__spacer { flex: 1 1 auto; min-height: 18px; }
body.cloudbox-self-hosted-page .self-hosted-pricing-card__bottom {
    min-width: 0;
    min-height: 68px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}
body.cloudbox-self-hosted-page .self-hosted-pricing-price {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
body.cloudbox-self-hosted-page .self-hosted-pricing-price strong {
    color: inherit;
    font-size: 36px;
    font-weight: 400;
    line-height: 43px;
}
body.cloudbox-self-hosted-page .self-hosted-pricing-price > span {
    color: #687a73;
    font-size: 13px;
    line-height: 20px;
}
body.cloudbox-self-hosted-page .self-hosted-pricing-card--enterprise .self-hosted-pricing-price > span { color: #d9eee7; }
body.cloudbox-self-hosted-page .self-hosted-pricing-price__promo {
    min-height: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #687a73;
    font-size: 13px;
    line-height: 20px;
}
body.cloudbox-self-hosted-page .self-hosted-pricing-card--enterprise .self-hosted-pricing-price__promo { color: #d9eee7; }
body.cloudbox-self-hosted-page .self-hosted-pricing-price__promo span {
    padding: 1px 6px;
    border-radius: 999px;
    background: rgba(15,123,101,.12);
    font-weight: 600;
}
body.cloudbox-self-hosted-page .self-hosted-pricing-card--enterprise .self-hosted-pricing-price__promo span { background: rgba(255,255,255,.15); }

body.cloudbox-self-hosted-page .self-hosted-pricing__helper {
    width: 100%;
    min-height: 240px;
    display: grid;
    grid-template-columns: minmax(0,1fr) 1px minmax(0,1fr);
    gap: 28px;
    padding: 28px;
    border: 1px solid #cedbd6;
    border-radius: 16px;
    background: #fff;
}
body.cloudbox-self-hosted-page .self-hosted-pricing-helper-column {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
}
body.cloudbox-self-hosted-page .self-hosted-pricing-helper-column h3 {
    color: #16211e;
    font-size: 24px;
    font-weight: 500;
    line-height: 30px;
}
body.cloudbox-self-hosted-page .self-hosted-pricing-helper-column p {
    max-width: 430px;
    color: #4b5b55;
    font-size: 17px;
    line-height: 24px;
}
body.cloudbox-self-hosted-page .self-hosted-pricing-helper-column .self-hosted-cta { margin-top: auto; }
body.cloudbox-self-hosted-page .self-hosted-pricing__helper-divider { width: 1px; height: 100%; background: #d7e2de; }

@media (max-width: 1199.98px) and (min-width: 768px) {
    body.cloudbox-self-hosted-page .self-hosted-pricing { gap: 24px; }
    body.cloudbox-self-hosted-page .self-hosted-pricing__cards { gap: 19px; }
    body.cloudbox-self-hosted-page .self-hosted-pricing-card { min-height: 266px; gap: 10px; padding: 22px 24px; }
    body.cloudbox-self-hosted-page .self-hosted-pricing-card__title-row { gap: 7px; }
    body.cloudbox-self-hosted-page .self-hosted-pricing-users { gap: 2px; }
    body.cloudbox-self-hosted-page .self-hosted-pricing-users__button { width: 44px; }
    body.cloudbox-self-hosted-page .self-hosted-pricing-card__bottom { flex-direction: column; min-height: 122px; gap: 10px; }
    body.cloudbox-self-hosted-page .self-hosted-pricing__helper { min-height: 270px; grid-template-columns: minmax(0,1fr) 1px minmax(0,1fr); gap: 11px; padding: 24px; }
    body.cloudbox-self-hosted-page .self-hosted-pricing-helper-column { gap: 12px; }
    body.cloudbox-self-hosted-page .self-hosted-pricing-helper-column h3 { font-size: 22px; line-height: 28px; }
    body.cloudbox-self-hosted-page .self-hosted-pricing-helper-column p { font-size: 16px; line-height: 23px; }
}

@media (max-width: 767.98px) {
    body.cloudbox-self-hosted-page .self-hosted-pricing { gap: 24px; }
    body.cloudbox-self-hosted-page .self-hosted-pricing__cards { grid-template-columns: 1fr; gap: 16px; }
    body.cloudbox-self-hosted-page .self-hosted-pricing-card { min-height: 0; gap: 10px; padding: 22px 16px; }
    body.cloudbox-self-hosted-page .self-hosted-pricing-card__meta { width: 100%; }
    body.cloudbox-self-hosted-page .self-hosted-pricing-card__title-row { flex-direction: column; gap: 0; }
    body.cloudbox-self-hosted-page .self-hosted-pricing-users { width: 100%; justify-content: space-between; gap: 0; }
    body.cloudbox-self-hosted-page .self-hosted-pricing-users__button { width: 56px; }
    body.cloudbox-self-hosted-page .self-hosted-pricing-card__enterprise-users { padding-top: 0; line-height: 28px; }
    body.cloudbox-self-hosted-page .self-hosted-pricing-card__spacer { min-height: 8px; }
    body.cloudbox-self-hosted-page .self-hosted-pricing-card__bottom { flex-direction: column; gap: 8px; }
    body.cloudbox-self-hosted-page .self-hosted-pricing__helper {
        min-height: 0;
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 20px;
    }
    body.cloudbox-self-hosted-page .self-hosted-pricing__helper-divider { width: 100%; height: 1px; }
    body.cloudbox-self-hosted-page .self-hosted-pricing-helper-column { gap: 12px; }
    body.cloudbox-self-hosted-page .self-hosted-pricing-helper-column h3 { font-size: 22px; line-height: 28px; }
    body.cloudbox-self-hosted-page .self-hosted-pricing-helper-column p { font-size: 16px; line-height: 23px; }
}
