.ceo-money {
    display: grid;
    gap: 0.55rem;
}

.ceo-money__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.ceo-money__label {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: inherit;
    opacity: 0.72;
}

.ceo-money__toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.22rem;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.14);
    border: 1px solid rgba(148, 163, 184, 0.18);
    width: fit-content;
    max-width: 100%;
    justify-self: start;
}

.ceo-money__choice {
    border: 0;
    border-radius: 999px;
    padding: 0.42rem 0.78rem;
    background: transparent;
    color: inherit;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1;
    opacity: 0.74;
    transition: 0.2s ease;
    flex: 1 1 auto;
    min-width: 4.15rem;
    text-align: center;
    white-space: nowrap;
}

.ceo-money__choice.is-active {
    background: linear-gradient(135deg, #223161 0%, #39AAE6 100%);
    color: #fff;
    opacity: 1;
    box-shadow: 0 10px 24px rgba(34, 49, 97, 0.22);
}

.ceo-money__line {
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.ceo-money__old {
    font-size: 0.92rem;
    text-decoration: line-through;
    opacity: 0.52;
}

.ceo-money__value {
    font-size: clamp(1.32rem, 2vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
}

.ceo-money__subline {
    min-height: 1rem;
}

.ceo-money__meta {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.77rem;
    line-height: 1.45;
    opacity: 0.82;
}

.ceo-money--compact .ceo-money__label {
    font-size: 0.65rem;
}

.ceo-money--compact .ceo-money__choice {
    padding: 0.34rem 0.65rem;
    font-size: 0.7rem;
}

.ceo-money--compact .ceo-money__value {
    font-size: clamp(1.1rem, 1.6vw, 1.45rem);
}

.ceo-money--compact .ceo-money__meta {
    font-size: 0.72rem;
}

.ceo-money--minimal .ceo-money__header {
    gap: 0.45rem;
}

.ceo-money--minimal .ceo-money__toggle {
    transform: scale(0.94);
    transform-origin: right center;
}

.ceo-fx-widget {
    min-width: 210px;
    padding: 0.48rem 0.6rem;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(15, 79, 143, 0.12) 0%, rgba(23, 179, 193, 0.08) 100%);
    border: 1px solid rgba(15, 79, 143, 0.14);
}

.ceo-fx-widget__eyebrow {
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #64748b;
}

.ceo-fx-widget__row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 0.2rem;
}

.ceo-fx-widget__value {
    font-size: 0.98rem;
    font-weight: 800;
    color: #0f172a;
    white-space: nowrap;
}

.ceo-fx-widget__note {
    font-size: 0.68rem;
    color: #64748b;
}

.ceo-fx-widget__admin-btn {
    margin-left: auto;
}

.ceo-fx-popover {
    width: min(320px, calc(100vw - 2rem));
    padding: 0.9rem;
}

.ceo-fx-popover__title {
    font-size: 0.95rem;
    font-weight: 800;
    margin-bottom: 0.2rem;
}

.ceo-fx-popover__desc {
    font-size: 0.78rem;
    color: #64748b;
    margin-bottom: 0.8rem;
}

.ceo-fx-popover .form-text {
    font-size: 0.72rem;
}

@media (max-width: 767.98px) {
    .ceo-fx-widget {
        min-width: auto;
        padding: 0.45rem 0.55rem;
    }

    .ceo-fx-widget__note {
        display: none;
    }

    .ceo-money__header {
        align-items: flex-start;
    }
}
