/* Public exchange and partner registration forms share the storefront layout. */
.omni-exchange-workspace {
    --exchange-gap: clamp(.875rem, 2vw, 1.5rem);
    --exchange-pad: clamp(1rem, 2.2vw, 1.75rem);
    margin-inline: auto;
    color: var(--omni-ui-ink);
}
.omni-exchange-workspace--exchangex :is(.omni-exchange-condition, .omni-checkout-safety .omni-checkout-disclosure__body) {
    max-inline-size: 72ch;
}
.omni-exchange-workspace--exchangex .omni-checkout-contact-email {
    max-inline-size: 38rem;
}
/* Magnatus exchange and partner registration headings. */
@media screen {
    .omni-cabinet-frame #omni-cabinet-main:has(> .omni-exchange-workspace--magnatus > .omni-customer-intro) {
        margin-block-start: var(--magnatus-banner-top-gap, 12px);
    }

    .omni-exchange-workspace--magnatus > .omni-customer-intro {
        position: relative;
        grid-template-columns: auto minmax(0, 1fr);
        gap: 0;
        min-block-size: 0;
        padding: 0;
        border: 1px solid var(--omni-ui-line);
        border-radius: var(--magnatus-banner-radius, 14px);
        overflow: hidden;
        text-align: start;
    }

    .omni-exchange-workspace--magnatus > .omni-customer-intro::before {
        content: "";
        background: var(--form-banner-photo) var(--form-banner-photo-position, center) / cover no-repeat;
        pointer-events: none;
    }

    .omni-exchange-workspace--magnatus > .omni-customer-intro :is(h1, p) {
        color: inherit;
    }

    .omni-exchange-workspace--magnatus > .omni-customer-intro p {
        margin-block-start: 6px;
    }

    .omni-exchange-workspace--magnatus:not(.omni-partner-registration) > .omni-customer-intro {
        --form-banner-photo: url("../img/magnatus/approved-scenes/order-light-desktop.webp");
        --form-banner-surface: #c8ced4;

        background: var(--form-banner-surface);
        color: #182633;
    }

    [data-omni-theme="dark"] .omni-exchange-workspace--magnatus:not(.omni-partner-registration) > .omni-customer-intro {
        --form-banner-photo: url("../img/magnatus/approved-scenes/order-dark-desktop.webp");
        --form-banner-surface: #121923;

        color: #f4f6fb;
    }

    .omni-exchange-workspace--magnatus.omni-partner-registration > .omni-customer-intro {
        --partner-banner-shade: light-dark(#192737, #101722);
        --form-banner-photo: url("../img/magnatus/section-terms.webp");
        --form-banner-photo-position: 75% 64%;

        background: var(--partner-banner-shade);
        color: #fff;
    }

    .omni-exchange-workspace--magnatus.omni-partner-registration > .omni-customer-intro::before {
        background-image:
            linear-gradient(90deg,
                color-mix(in srgb, var(--partner-banner-shade) 72%, transparent),
                color-mix(in srgb, var(--partner-banner-shade) 65%, transparent) var(--partner-banner-text-stop, min(34rem, 68%)),
                color-mix(in srgb, var(--partner-banner-shade) 12%, transparent)),
            var(--form-banner-photo);
    }
}

@media screen and (width >= 700px) {
    .omni-exchange-workspace--magnatus > .omni-customer-intro::before {
        position: absolute;
        inset: 0;
    }

    /* Stretch the empty left side of the 3:1 photo across the wider banner. */
    .omni-exchange-workspace--magnatus:not(.omni-partner-registration) > .omni-customer-intro::before {
        background: none;
        border-image-source: var(--form-banner-photo);
        border-image-slice: 0 48% 0 0 fill;
        border-image-width: 0 calc(144% / (var(--magnatus-section-ratio, 4.35 / 1))) 0 0;
    }

    /* The inner width supplies the preferred height. The content can grow the row. */
    .omni-exchange-workspace--magnatus > .omni-customer-intro::after {
        content: "";
        grid-area: 1 / 1 / 2 / -1;
        align-self: start;
        aspect-ratio: var(--magnatus-section-ratio, 4.35 / 1);
        pointer-events: none;
    }

    .omni-exchange-workspace--magnatus:not(.omni-partner-registration) > .omni-customer-intro::after {
        align-self: stretch;
        background: linear-gradient(to right,
            color-mix(in srgb, var(--form-banner-surface) 65%, transparent),
            color-mix(in srgb, var(--form-banner-surface) 35%, transparent) 32%,
            transparent 62%);
    }

    .omni-exchange-workspace--magnatus > .omni-customer-intro > .omni-customer-intro__icon {
        grid-area: 1 / 1;
        position: relative;
        margin-inline: clamp(24px, 2.5vw, 32px) 14px;
    }

    .omni-exchange-workspace--magnatus > .omni-customer-intro > .omni-customer-intro__copy {
        grid-area: 1 / 2;
        position: relative;
        max-inline-size: min(36vw, 26rem);
        margin: 18px 20px 18px 0;
    }
}

@media screen and (width < 700px) {
    .omni-cabinet-frame #omni-cabinet-main:has(> .omni-exchange-workspace--magnatus > .omni-customer-intro) {
        margin-block-start: var(--magnatus-banner-top-gap, 0px);
    }

    .omni-exchange-workspace--magnatus > .omni-customer-intro {
        --form-banner-caption-height: 71px;

        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto 1fr;
        min-block-size: var(--magnatus-section-mobile-height, max(247px, calc(100vw * 4 / 7 + var(--form-banner-caption-height))));
        margin-inline: calc(-1 * var(--omni-cabinet-gutter, 16px));
        border-width: 0 0 1px;
        border-radius: var(--magnatus-banner-radius, 0px);
    }

    .omni-exchange-workspace--magnatus > .omni-customer-intro:lang(en) {
        --form-banner-caption-height: 77px;
    }

    .omni-exchange-workspace--magnatus:not(.omni-partner-registration) > .omni-customer-intro {
        --form-banner-photo: url("../img/magnatus/approved-scenes/order-light-mobile.webp");

        /* Continue the photo's empty left edge behind the caption. */
        background: var(--form-banner-photo) left top / 300% auto no-repeat var(--form-banner-surface);
    }

    [data-omni-theme="dark"] .omni-exchange-workspace--magnatus:not(.omni-partner-registration) > .omni-customer-intro {
        --form-banner-photo: url("../img/magnatus/approved-scenes/order-dark-mobile.webp");
    }

    .omni-exchange-workspace--magnatus.omni-partner-registration > .omni-customer-intro {
        --form-banner-photo-position: 82% 64%;
        --partner-banner-text-stop: 75%;

        /* Carry the desk texture behind the caption and keep the notebook in frame. */
        background:
            linear-gradient(color-mix(in srgb, var(--partner-banner-shade) 62%, transparent), transparent),
            var(--form-banner-photo) left center / 300% auto no-repeat var(--partner-banner-shade);
    }

    .omni-exchange-workspace--magnatus > .omni-customer-intro::before {
        position: absolute;
        inset: auto 0 0;
        aspect-ratio: var(--magnatus-section-ratio, 2.2 / 1);
        mask-image: linear-gradient(to bottom, transparent, #000 32%);
    }

    .omni-exchange-workspace--magnatus:not(.omni-partner-registration) > .omni-customer-intro::before {
        aspect-ratio: 1267 / 724;
    }

    .omni-exchange-workspace--magnatus > .omni-customer-intro::after {
        content: "";
        grid-area: 2 / 1;
        align-self: end;
        aspect-ratio: var(--magnatus-section-ratio, 2.2 / 1);
        pointer-events: none;
    }

    .omni-exchange-workspace--magnatus > .omni-customer-intro > .omni-customer-intro__icon {
        display: none;
    }

    .omni-exchange-workspace--magnatus > .omni-customer-intro > .omni-customer-intro__copy {
        grid-area: 1 / 1;
        align-self: start;
        position: relative;
        padding: 16px clamp(16px, 5vw, 28px) 12px;
    }

    .omni-exchange-workspace--magnatus > .omni-customer-intro h1 {
        font-size: 28px;
    }

    .omni-exchange-workspace--magnatus > .omni-customer-intro p {
        font-size: 16px;
        line-height: 1.4;
    }
}

/* Let the public partner registration photograph reach behind the navigation.
   The form and the heading keep their shared content alignment on wide screens. */
@media screen {
    :root[data-omni-storefront="magnatus"]:not([data-omni-high-contrast]):has(.omni-public-header):has(.omni-exchange-workspace--magnatus.omni-partner-registration) {
        container-type: inline-size;
        --magnatus-banner-top-gap: 0px;

        & .omni-partner-registration > .omni-customer-intro {
            box-sizing: border-box;
            inline-size: 100cqi;
            max-inline-size: none;
            margin-inline: calc((100% - 100cqi) / 2);
            padding-block-start: var(--magnatus-menu-inset);
            border: 0;
            border-radius: 0;

            @media (width >= 700px) {
                padding-inline: calc((100cqi - 100%) / 2);
            }
        }
    }
}

.omni-exchange-intro {
    display: grid;
    gap: .75rem;
    padding: var(--exchange-pad);
    margin-block-end: var(--exchange-gap);
    border: 1px solid var(--omni-ui-line);
    border-radius: var(--omni-ui-panel-radius, 14px);
    background: var(--omni-ui-surface);
}
.omni-exchange-intro__top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: start;
    gap: .5rem var(--exchange-gap);
}
.omni-exchange-workspace .omni-customer-intro #form,
.omni-exchange-intro #form {
    scroll-margin-block-start: 2.25rem;
}
.omni-exchange-intro :is(h1, p, .omni-checkout-safety) { margin: 0; }
.omni-exchange-intro h1 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    line-height: 1.2;
}
.omni-exchange-intro__language:not([hidden]) {
    display: flex;
    align-items: center;
    gap: .5rem .75rem;
    flex-wrap: wrap;
    max-inline-size: 26rem;
}
.omni-exchange-intro__language a {
    display: inline-flex;
    align-items: center;
    min-block-size: 44px;
    font-weight: 650;
}
.omni-exchange-intro__language p {
    flex: 1 1 14rem;
    color: var(--omni-ui-muted);
    font-size: .875rem;
}
.omni-exchange-intro__pair {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0 1rem;
}
.omni-exchange-intro__pair:has(#omni-active-pair[hidden]) {
    display: none;
}
.omni-exchange-intro #omni-active-pair:not([hidden]) {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0 .5rem;
    font-weight: 650;
}
.omni-exchange-intro__pair a[href]:not([hidden]) {
    display: inline-flex;
    align-items: center;
    gap: .375em;
    min-block-size: 44px;
    overflow-wrap: anywhere;
    text-underline-offset: .2em;
}
.omni-exchange-intro .omni-exchange-official-domain {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .25rem .6rem;
    margin-block-start: .5rem;
}
.omni-exchange-official-domain code,
.omni-exchange-official-domain #omni-copy-domain {
    padding: .125rem .45rem;
    border: 1px solid var(--omni-ui-warning-line);
    border-radius: var(--omni-ui-control-radius, 8px);
    background: var(--omni-ui-surface);
    color: inherit;
}
.omni-exchange-official-domain #omni-copy-domain:not([hidden]) {
    display: inline-flex;
    align-items: center;
    min-block-size: 2rem;
    text-decoration: none;
}
.omni-exchange-official-domain #omni-copy-domain:hover {
    text-decoration: underline;
}
.omni-exchange-workspace #omni-form-language {
    color: var(--omni-ui-ink);
    font-size: .95rem;
    line-height: 1.5;
}
.omni-exchange-workspace > #omni-active-pair:not([hidden]) {
    margin-block-end: .5rem;
    font-weight: 600;
}
.omni-exchange-workspace #exch {
    min-inline-size: 0;
    padding: 0 !important;
}
.omni-exchange-tools:not([hidden]), .omni-exchange-tools nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .25rem 1rem;
}
.omni-exchange-tools:not([hidden]) {
    justify-content: space-between;
    margin-block: 1rem;
    padding: .375rem var(--exchange-pad);
    border: 1px solid var(--omni-ui-line);
    border-radius: var(--omni-ui-control-radius);
    background: var(--omni-ui-surface);
}
.omni-exchange-intro .omni-exchange-tools:not([hidden]) {
    margin: 0;
    padding: .25rem 0 0;
    border: 0;
    border-block-start: 1px solid var(--omni-ui-line);
    border-radius: 0;
}
.omni-exchange-tools :is(a, label):not([hidden]) {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    gap: .5rem;
}
.omni-exchange-tools a.omni-exchange-section-link:not([hidden]) {
    gap: 6px;
}
.omni-exchange-sections > summary {
    display: none;
}
.omni-exchange-section-link > svg {
    flex: none;
    width: 16px;
    height: 16px;
    color: inherit;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.omni-exchange-intro .omni-exchange-field-status {
    flex: 0 0 100%;
    box-sizing: border-box;
    margin-block-start: .25rem;
    padding: .45rem .7rem;
    border: 1px solid var(--omni-ui-line);
    border-radius: var(--omni-ui-control-radius, 8px);
    background: var(--omni-ui-surface-soft);
    color: var(--omni-ui-muted);
    font-size: .875rem;
    line-height: 1.4;
}
.omni-exchange-intro .omni-exchange-field-status:empty {
    position: absolute;
    margin: 0;
    padding: 0;
    border: 0;
}
.omni-exchange-workspace [data-compact-hidden] { display: none !important; }
.omni-exchange-next-error { display: block; margin-block: .25rem; }
@media print {
    .omni-exchange-tools, .omni-exchange-next-error { display: none !important; }
    .omni-exchange-confirmation:has(#omni-exchange-summary:not([hidden])) {
        display: contents;
    }
}
.omni-exchange-workspace .omni-exchange-panel,
.omni-exchange-workspace #exch > :is(.omni-checkout-disclosure, #accept_aml_div) {
    box-sizing: border-box;
    min-inline-size: 0;
    margin-block: var(--exchange-gap);
    border: 1px solid var(--omni-ui-line);
    border-radius: var(--omni-ui-panel-radius, 14px);
    background: var(--omni-ui-surface);
    color: var(--omni-ui-ink);
}
.omni-exchange-workspace .omni-exchange-panel {
    padding: var(--exchange-pad);
}
.omni-exchange-workspace .omni-exchange-panel h2,
.omni-exchange-workspace #omni-exchange-summary-title {
    margin: 0 0 .875rem;
    font-size: 1.22rem;
    font-weight: 650;
    line-height: 1.3;
    color: var(--omni-ui-ink);
}
.omni-exchange-workspace .omni-exchange-quote {
    border-block-start: 3px solid var(--omni-ui-accent);
}
.omni-exchange-workspace #exch .omni-exchange-pair {
    margin: 0;
    padding: 0 !important;
}
.omni-exchange-workspace .omni-exchange-pair > .col-form-label {
    display: none;
}
.omni-exchange-workspace .omni-exchange-pair > div:not(.col-form-label) {
    width: 100%;
    margin-inline: 0;
    padding-inline: 0;
}
.omni-exchange-workspace .omni-exchange-direction-selects,
.omni-exchange-workspace .omni-amount-sides,
.omni-exchange-workspace .omni-exchange-requisites {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .625rem var(--exchange-gap);
    align-items: start;
}
.omni-exchange-workspace .omni-exchange-direction-field label,
.omni-exchange-workspace .omni-amount-sides label {
    font-weight: 650;
    margin-block-end: .3rem;
}
.omni-exchange-workspace .omni-exchange-direction-selects:has(.omni-exchange-direction-swap) {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
}
.omni-exchange-workspace .omni-exchange-direction-swap {
    margin-block-start: calc(1lh + .3rem);
}
.omni-exchange-workspace .omni-amount-sides {
    margin: .875rem 0;
    padding-block: .875rem;
    border-block: 1px solid var(--omni-ui-line);
}
.omni-exchange-workspace #exch .omni-amount-sides > .row,
.omni-exchange-workspace .omni-exchange-requisites .row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    margin: 0;
    padding: 0 !important;
}
.omni-exchange-workspace #exch .omni-amount-sides > .row > div,
.omni-exchange-workspace .omni-exchange-requisites .row > div {
    width: 100%;
    max-inline-size: none;
    min-inline-size: 0;
    margin: 0;
    padding-inline: 0;
    text-align: start;
}
.omni-exchange-workspace #exch .omni-exchange-amount-group {
    width: 100%;
    grid-template-columns: minmax(5rem, 1fr) minmax(0, max-content);
}
.omni-exchange-workspace #exch .omni-exchange-amount-group .form-control {
    font-size: 1.15rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}
.omni-exchange-workspace #exch .omni-exchange-amount-group .input-group-text {
    width: auto;
    max-inline-size: 16em;
}
.omni-exchange-workspace .omni-amount-format {
    grid-column: 1 / -1;
}
.omni-direction-reserve {
    grid-column: 1 / -1;
    margin: 0;
    font-variant-numeric: tabular-nums;
}
.omni-direction-reserve:empty,
#k_paybyalgo:not(:has(#paybyalgo:checked)) #paybyalgo-details,
.omni-grouped-services .omni-service-group:not(:has(.omni-service-row:not([hidden]))),
.omni-grouped-services .omni-service-row:not(:has(input[type="checkbox"]:checked)) a.omni-service-dependent,
.omni-grouped-services .omni-service-dependent:has(> input:disabled) {
    display: none;
}
[data-exchange-amount-guide] #omni-exchange-maximum {
    font-weight: 650;
}
#exch:has([data-unconfirmed-direction="true"]) :is([data-exchange-amount-guide], [data-magnatus-amounts]) :is(#omni-exchange-minimum, #omni-exchange-maximum, #omni-payout-limits, .omni-direction-reserve),
#exch[data-quote-pending] :is(.omni-grouped-services .omni-service-price, .omni-magnatus-service__price) {
    visibility: hidden;
}
#exch[data-quote-pending] .omni-exchange-fee {
    display: none !important;
}
.omni-grouped-services {
    counter-reset: selected-services;
}
.omni-grouped-services .omni-service-group {
    min-width: 0;
    border: 0;
    padding: 0;
    margin: .75rem 0;
}
.omni-grouped-services .omni-service-group > summary {
    font-size: 1rem;
    font-weight: 650;
    margin-bottom: .25rem;
}
.omni-grouped-services .omni-service-row {
    border-top: 1px solid var(--omni-ui-line);
    padding: .45rem 0;
}
.omni-grouped-services .omni-service-choice {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: .55rem;
    align-items: center;
}
.omni-grouped-services .omni-service-name {
    display: flex;
    align-items: center;
    gap: .35rem;
}
.omni-grouped-services .omni-service-name > label {
    overflow-wrap: anywhere;
}
.omni-grouped-services .omni-service-name > .omni-service-info {
    display: flex;
    flex: none;
}
.omni-grouped-services .omni-service-info .omni-field-hint > button[data-omni-date-trigger] {
    margin-block-start: 0;
}
.omni-grouped-services .omni-service-choice > #omni-summary-return {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: start;
}
.omni-grouped-services .omni-service-price {
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    text-align: end;
}
.omni-grouped-services .omni-service-dependent {
    margin-block-start: .3rem;
}
#paybyalgo-details > label {
    display: block;
    margin-block-end: .3rem;
}
.omni-grouped-services .omni-service-row:has(input[type="checkbox"]:checked):not([hidden]) {
    counter-increment: selected-services;
}
.omni-grouped-services .omni-service-count-static::after {
    content: counter(selected-services);
}
.omni-exchange-workspace #exch .omni-exchange-fee {
    align-items: baseline;
    margin: 0;
    padding: 0 !important;
}
.omni-exchange-workspace .omni-exchange-fee > div {
    width: auto;
    padding-inline-start: 0;
    text-align: start;
}
.omni-exchange-workspace .omni-exchange-condition {
    text-align: start !important;
    overflow-wrap: anywhere;
}
.omni-exchange-workspace .omni-exchange-condition > div:not([hidden]):not(:empty) {
    margin-block: .5rem 0 !important;
}
.omni-exchange-workspace .omni-exchange-requisites {
    align-items: stretch;
}
.omni-exchange-workspace .omni-exchange-requisites > div:has(> [hidden]) {
    display: none;
}
.omni-exchange-workspace .omni-exchange-requisites:has(> div:only-child, > div > [hidden]) {
    grid-template-columns: minmax(0, 1fr);
}
.omni-exchange-workspace .omni-exchange-requisites > div > .omni-exchange-panel {
    height: 100%;
    margin: 0;
}
.omni-exchange-workspace .omni-exchange-contact-panel .row,
.omni-exchange-workspace .omni-exchange-terms .row,
.omni-exchange-workspace .omni-checkout-disclosure__body .row {
    margin-inline: 0;
}
.omni-exchange-workspace .omni-exchange-contact-panel > .form-text {
    margin-block: -.4rem .75rem;
}
.omni-exchange-workspace #exch .col-form-label {
    text-align: start;
}
.omni-registration-choice > .omni-notice {
    border-inline-start: 4px solid currentColor;
    max-inline-size: 780px;
}
.omni-registration-choice__actions {
    display: grid;
    gap: .75rem;
}
.omni-registration-choice__actions--inline {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}
.omni-registration-choice .omni-notice h2 {
    color: inherit;
    font-size: 1.125rem;
    line-height: 1.45;
    margin: 0;
}
.omni-registration-choice .omni-notice > div,
.omni-registration-choice .omni-notice > p {
    margin-block-start: .75rem;
}
.omni-registration-choice .mybutton {
    display: inline-flex;
    align-items: center;
    min-block-size: 44px;
}
.omni-exchange-workspace--magnatus > [data-checkout-progress].omni-notice:not(.visually-hidden) {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: baseline;
    gap: .375rem .625rem;
    margin-block-start: .75rem;
    border-inline-start: 4px solid var(--omni-notice-ink);
}
.omni-exchange-workspace--magnatus > [data-checkout-progress] [role="status"] {
    font-weight: 600;
}
.omni-exchange-workspace--magnatus > [data-checkout-progress] a {
    grid-column: 2;
}
#exch .omni-profile-password-generator {
    max-inline-size: 32rem;
    margin-block: .5rem;
    padding-inline: .875rem;
    border: 1px solid var(--omni-ui-line);
    border-radius: var(--omni-ui-control-radius);
    background: var(--omni-ui-surface-soft);
}
#exch .omni-profile-password-generator > summary {
    padding-block: .75rem;
    color: var(--omni-ui-accent);
    font-weight: 600;
    cursor: pointer;
}
#exch .omni-profile-password-generator__body {
    padding-block-end: .75rem;
}
#exch .omni-profile-password-generator__body :is(.col-auto, .col-form-label) {
    inline-size: 100%;
    padding-inline: 0;
}
#exch .omni-password-generator__value #generated {
    flex: 1 1 11rem;
    inline-size: 100% !important;
    min-inline-size: 0;
    font-family: ui-monospace, Consolas, monospace;
}
#exch .omni-password-generator__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem;
    margin-block-start: .5rem;
}
#exch .omni-password-generator__actions button {
    min-block-size: 44px;
}
#exch .omni-password-generator__actions [data-omni-click-action="use-password"] {
    color: var(--omni-ui-accent);
    border-color: currentColor;
    font-weight: 600;
}
#exch .omni-password-generator__actions [role="status"]:empty {
    display: none;
}
#exch .omni-password-generator__actions [role="status"]:not(:empty) {
    flex-basis: 100%;
}
.omni-exchange-workspace #exch > .omni-checkout-disclosure > summary {
    padding: .875rem var(--exchange-pad);
}
.omni-exchange-workspace #exch > .omni-checkout-disclosure > .omni-checkout-disclosure__body {
    padding: 0 var(--exchange-pad) 1rem;
}
.omni-exchange-workspace .omni-exchange-terms .offset-sm-4,
.omni-exchange-workspace .omni-exchange-actions .offset-sm-4 {
    width: 100%;
    margin-inline: 0;
    padding: 0;
}
.omni-exchange-workspace #exch > #accept_aml_div:not([hidden]) {
    margin-block: var(--exchange-gap) !important;
    padding: var(--exchange-pad) !important;
    border: 1px solid var(--omni-ui-line) !important;
}
.omni-exchange-workspace #omni-exchange-summary {
    padding: var(--exchange-pad) !important;
}
.omni-exchange-workspace #omni-exchange-summary-values > dl {
    gap: .5rem var(--exchange-gap);
    margin: .625rem 0 !important;
}
.omni-exchange-workspace #omni-exchange-summary-values > dl:first-child {
    padding-block-end: .75rem;
    border-block-end: 1px solid var(--omni-ui-line);
}
.omni-exchange-workspace #omni-exchange-summary-values > dl:first-child dd {
    font-size: 1.1rem;
    font-weight: 650;
    font-variant-numeric: tabular-nums;
}
.omni-exchange-workspace #omni-exchange-summary-values dd a {
    font-size: .875rem;
    font-weight: 500;
}
.omni-exchange-workspace #omni-exchange-summary.omni-review-compact {
    padding: var(--exchange-pad) !important;
}
.omni-review-compact #omni-exchange-summary-values > .omni-summary-amounts {
    grid-template-columns: repeat(2, minmax(0, 16rem));
    row-gap: .25rem;
    border: 0;
    padding: 0;
}
.omni-review-compact .omni-summary-amounts > div {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 2;
    min-inline-size: 0;
    overflow-wrap: anywhere;
}
.omni-review-compact .omni-summary-amounts .omni-review-money {
    font-size: clamp(1rem, 3.8vw, 1.25rem);
}
.omni-review-compact .omni-summary-amounts dd a {
    display: inline-block;
    margin: 0;
}
.omni-review-compact #omni-review-missing {
    margin-block: .75rem;
}
.omni-review-compact #omni-review-missing h3 {
    margin: 0;
    font-size: .9375rem;
    font-weight: 650;
}
.omni-review-compact #omni-review-missing ul {
    display: flex;
    flex-wrap: wrap;
    column-gap: 2rem;
    margin: .125rem 0 0;
    padding-inline-start: 1.25rem;
}
.omni-review-compact #omni-review-missing a {
    display: inline-flex;
    align-items: center;
    min-block-size: 2rem;
}
.omni-review-details:not([hidden]) {
    border-block-start: 1px solid var(--omni-ui-line);
}
.omni-review-details > summary {
    min-block-size: 44px;
    padding-block: .625rem;
    font-weight: 650;
    cursor: pointer;
}
.omni-review-details > summary span {
    font-weight: 400;
}
.omni-review-details .omni-summary-grid {
    margin-block: .5rem .875rem !important;
}
@media screen {
    .omni-review-compact:not(:has(.omni-review-details[open])) #omni-summary-attachments:not(:has(a:not([hidden]))) {
        display: none;
    }
}
@media print {
    .omni-review-details:not([hidden])::details-content {
        content-visibility: visible;
    }
}
.omni-exchange-workspace .omni-exchange-actions {
    margin: var(--exchange-gap) 0;
    padding: 0 !important;
}
.omni-exchange-terms__documents,
.omni-exchange-terms__documents [data-exchange-terms-section]:not([hidden]) {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .25rem 1rem;
}
.omni-exchange-terms__documents a:not([hidden]) {
    display: inline-flex;
    align-items: center;
    gap: .25em;
    min-block-size: max(44px, 2.5rem);
}
.omni-exchange-terms__meta {
    margin: .25rem 0 0;
}
.omni-exchange-confirmation .omni-exchange-actions {
    container-type: inline-size;
    margin: 1rem 0 0;
    padding-block-start: 1rem !important;
    border-block-start: 1px solid var(--omni-ui-line);
}
.omni-exchange-confirmation .omni-exchange-submit-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem 1.5rem;
}
.omni-exchange-confirmation .omni-exchange-submit-controls {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-inline-start: auto;
    min-inline-size: 0;
}
.omni-checkout-submit-actions {
    display: contents;
}
.omni-checkout-submit-actions:has(> button:not([hidden])) {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .5rem;
    min-inline-size: 0;
}
#exch .omni-checkout-submit-actions .omni-checkout-primary:disabled {
    background: var(--omni-ui-surface-soft);
    border-color: var(--omni-ui-line);
    color: var(--omni-ui-muted);
    box-shadow: none;
    opacity: 1;
}
.omni-checkout-submit-actions > button[aria-disabled="true"] {
    cursor: wait;
}
.omni-exchange-confirmation .omni-exchange-submit-controls > .row,
.omni-exchange-confirmation .omni-exchange-submit-captcha {
    inline-size: 304px;
    text-align: start;
}
.omni-exchange-confirmation .omni-exchange-submit-captcha #recaptchaError:empty {
    display: none;
}
.omni-exchange-confirmation .omni-exchange-submit-captcha [data-checkout-recaptcha] {
    display: flex;
    justify-content: center;
}
.omni-exchange-confirmation .omni-exchange-submit-captcha [data-checkout-recaptcha] > div {
    flex: none;
}
.omni-exchange-confirmation .omni-exchange-submit-controls :is(input[type="submit"], [data-recaptcha-retry]) {
    min-block-size: 44px;
}
.omni-exchange-confirmation .omni-exchange-terms-accept {
    margin: 0;
    text-align: start;
}
.omni-exchange-confirmation .omni-exchange-terms-accept label {
    padding-block: .375rem;
}
.omni-exchange-confirmation #accept_aml_div:not([hidden]),
.omni-exchange-confirmation #omni-exchange-summary:not([hidden], .omni-review-compact) {
    margin: 1rem 0 0;
    padding: 1rem 0 0 !important;
    border-block-start: 1px solid var(--omni-ui-line);
}
.omni-exchange-workspace .omni-exchange-errors:not(.omni-exchange-error-summary) {
    border-inline-start: 4px solid var(--omni-ui-danger);
}
.omni-service-shortfall {
    margin-block-end: .75rem;
    padding: .75rem 1rem;
    border-inline-start: 3px solid var(--omni-ui-danger);
    border-radius: .5rem;
    background: var(--omni-ui-danger-surface);
    line-height: 1.5;
}
.omni-service-shortfall strong {
    color: var(--omni-ui-danger);
}
.omni-service-shortfall a {
    text-decoration: underline;
}
@container (max-width: 752px) {
    .omni-checkout-submit-actions:has(> button:not([hidden])) {
        flex-direction: column;
        align-items: stretch;
    }
    .omni-exchange-confirmation .omni-exchange-submit-line {
        flex-direction: column;
        align-items: stretch;
    }
    .omni-exchange-confirmation .omni-exchange-submit-controls {
        flex-direction: column;
        align-items: stretch;
        margin-inline-start: 0;
    }
    .omni-exchange-confirmation .omni-exchange-submit-controls > .row,
    .omni-exchange-confirmation .omni-exchange-submit-captcha {
        inline-size: 100%;
    }
}
@media (max-width: 43rem) {
    .omni-exchange-sections > summary {
        display: list-item;
        align-content: center;
        min-block-size: 44px;
        cursor: pointer;
        font-weight: 600;
    }
    .omni-exchange-sections[open] {
        flex-basis: 100%;
    }
    .omni-exchange-workspace .omni-exchange-direction-selects:has(.omni-exchange-direction-swap),
    .omni-exchange-workspace .omni-exchange-direction-selects:not(:has(.omni-exchange-direction-swap)),
    .omni-exchange-workspace .omni-amount-sides,
    .omni-exchange-workspace .omni-exchange-requisites {
        grid-template-columns: minmax(0, 1fr);
    }
    .omni-exchange-workspace .omni-exchange-direction-swap {
        margin-block-start: 0;
    }
    .omni-exchange-workspace .omni-exchange-direction-swap svg { transform: rotate(90deg); }
    .omni-exchange-workspace .omni-exchange-actions input[type="submit"] {
        inline-size: 100%;
    }
}


.omni-exchange-workspace .omni-checkout-requisite-section .omni-checkout-requisite-side {
    border: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
}

.omni-exchange-workspace .omni-checkout-requisite-side > h3 {
    margin: 0 0 var(--omni-ui-space-2, 8px);
    font-size: 1rem;
    line-height: 1.4;
    font-weight: 650;
}

.omni-exchange-workspace .omni-checkout-requisite-section :is(.omni-checkout-requisite-extra, .omni-checkout-cardholder-slot):has(> *) {
    margin-block-start: var(--omni-ui-space-3, 12px);
}

.omni-exchange-workspace .omni-checkout-requisite-section .omni-checkout-cardholder-slot .form-control,
.omni-exchange-workspace .omni-checkout-contact-email input[name="email"] {
    width: 100%;
    min-inline-size: 0;
}

.omni-exchange-workspace .omni-checkout-contact-email {
    display: grid;
    gap: var(--omni-ui-space-1, 4px);
    align-items: start;
}

.omni-exchange-workspace .omni-checkout-contact-email > div {
    width: 100%;
    min-inline-size: 0;
    padding-inline: 0;
}

.omni-partner-registration > .omni-customer-intro .omni-customer-intro__copy {
    max-inline-size: min(52rem, 100%);
}
.omni-partner-registration > .omni-customer-intro h1 {
    max-inline-size: none;
}
.omni-partner-fields #reg_info {
    min-inline-size: 0;
    margin-block-start: var(--exchange-gap) !important;
}
.omni-partner-fields #reg_info > legend {
    float: none;
    margin: 0 0 .875rem;
    font-size: 1.22rem;
    font-weight: 650;
    line-height: 1.3;
}
.omni-partner-fields #reg_info > .row:first-of-type > .text-center {
    text-align: start !important;
}
.omni-partner-fields #reg_info > .row:has(> .col-form-label) {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--omni-ui-space-1, 4px);
    margin-block-start: .75rem;
}
.omni-partner-fields #reg_info > .row > div,
.omni-partner-fields .omni-checkout-disclosure__body > .row > div {
    width: 100%;
    min-inline-size: 0;
    padding-inline: 0;
}
.omni-partner-fields #reg_info .offset-sm-4 {
    margin-inline-start: 0;
}
.omni-exchange-workspace--magnatus .omni-partner-fields [data-add-backup-email] {
    justify-self: start;
    padding-inline: 0;
}
.omni-partner-fields #reg_info .row {
    --bs-gutter-x: 0;
}
.omni-partner-fields #reg_info .row:has(> div > #userpass) > div {
    flex: 0 0 100%;
}
.omni-partner-fields #reg_info > .row:has(> .col-form-label) .col-form-label,
.omni-partner-fields .omni-checkout-contact-email label {
    font-weight: 650;
}
@media (min-width: 768px) {
    .omni-partner-fields #reg_info:not([hidden]) {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
        column-gap: var(--exchange-gap);
    }
    .omni-partner-fields #reg_info > * {
        grid-column: 1 / -1;
    }
    .omni-partner-fields #reg_info > .row:has(#userpass, #userpassto, #secname, #firstname) {
        grid-column: auto;
    }
}
.omni-partner-fields .omni-checkout-disclosure {
    margin-block: var(--exchange-gap);
}
.omni-partner-fields .omni-exchange-actions {
    margin-block: var(--exchange-gap) 0;
}
.omni-partner-fields .omni-exchange-submit-line {
    text-align: end;
}

