.presentation-page .presentation-form.presentation-wizard-ready {
    display: block;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
}

.presentation-wizard {
    display: grid;
    gap: 14px;
}

.presentation-wizard-progress {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding: 0 4px;
}

.presentation-wizard-progress::before {
    content: "";
    position: absolute;
    top: 17px;
    left: calc(16.666% + 12px);
    right: calc(16.666% + 12px);
    height: 2px;
    border-radius: 99px;
    background: rgba(129, 164, 219, .16);
}

.presentation-wizard-progress-fill {
    position: absolute;
    z-index: 1;
    top: 17px;
    left: calc(16.666% + 12px);
    width: 0;
    height: 2px;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--p-accent-strong), #72a8ff);
    box-shadow: 0 0 16px rgba(79, 140, 255, .38);
    transition: width .36s cubic-bezier(.22, .8, .24, 1);
}

.presentation-wizard-progress[data-step="2"] .presentation-wizard-progress-fill {
    width: calc(33.333% - 8px);
}

.presentation-wizard-progress[data-step="3"] .presentation-wizard-progress-fill {
    width: calc(66.666% - 16px);
}

.presentation-wizard-progress button {
    position: relative;
    z-index: 2;
    display: grid;
    justify-items: center;
    gap: 7px;
    padding: 0;
    border: 0;
    color: var(--p-muted);
    background: none;
    font: inherit;
    cursor: default;
}

.presentation-wizard-progress button.is-available {
    cursor: pointer;
}

.presentation-wizard-progress-dot {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid rgba(126, 163, 220, .28);
    border-radius: 50%;
    background: rgba(8, 22, 43, .96);
    color: #9fb5d6;
    font-size: 12px;
    font-weight: 900;
    box-shadow: 0 5px 18px rgba(0, 0, 0, .16);
    transition: transform .22s ease, border-color .22s ease, background .22s ease, color .22s ease, box-shadow .22s ease;
}

.presentation-wizard-progress button.is-current .presentation-wizard-progress-dot,
.presentation-wizard-progress button.is-complete .presentation-wizard-progress-dot {
    border-color: rgba(79, 140, 255, .82);
    color: #fff;
    background: linear-gradient(145deg, #4487fb, #2467dd);
    box-shadow: 0 7px 20px rgba(47, 115, 243, .28);
}

.presentation-wizard-progress button.is-current .presentation-wizard-progress-dot {
    transform: scale(1.08);
}

.presentation-wizard-progress-label {
    max-width: 110px;
    font-size: 11px;
    font-weight: 750;
    line-height: 1.25;
    text-align: center;
}

.presentation-wizard-progress button.is-current .presentation-wizard-progress-label {
    color: #eaf2ff;
}

.presentation-wizard-stage {
    position: relative;
    width: 100%;
    transition: height .36s cubic-bezier(.22, .8, .24, 1);
}

.presentation-wizard-step {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: grid;
    gap: 22px;
    padding: clamp(18px, 3vw, 28px);
    border: 1px solid rgba(117, 157, 224, .28);
    border-radius: 22px;
    background:
        radial-gradient(circle at 92% 0%, rgba(79, 140, 255, .13), transparent 34%),
        linear-gradient(160deg, rgba(15, 34, 64, .99), rgba(7, 20, 40, .99));
    box-shadow: 0 24px 64px rgba(0, 0, 0, .2);
    opacity: 0;
    transform: translateX(42px) scale(.985);
    pointer-events: none;
    visibility: hidden;
    transition:
        opacity .34s ease,
        transform .38s cubic-bezier(.22, .8, .24, 1),
        filter .34s ease;
}

.presentation-wizard-step.is-active {
    position: relative;
    opacity: 1;
    transform: translateX(0) scale(1);
    pointer-events: auto;
    visibility: visible;
}

.presentation-wizard-step.is-preparing {
    visibility: visible;
}

.presentation-wizard-step.is-preparing-back {
    transform: translateX(-42px) scale(.985);
}

.presentation-wizard-step.is-exiting {
    position: absolute;
    visibility: visible;
    pointer-events: none;
    filter: blur(.25px);
}

.presentation-wizard-step.is-exit-left {
    opacity: 0;
    transform: translateX(-42px) scale(.985);
}

.presentation-wizard-step.is-exit-right {
    opacity: 0;
    transform: translateX(42px) scale(.985);
}

.presentation-wizard-step-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 4px;
}

.presentation-wizard-step-kicker {
    display: block;
    margin-bottom: 5px;
    color: #7fb0ff;
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.presentation-wizard-step h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(21px, 4vw, 27px);
    line-height: 1.15;
    letter-spacing: -.025em;
}

.presentation-wizard-step-head p {
    max-width: 380px;
    margin: 7px 0 0;
    color: var(--p-muted);
    font-size: 13px;
    line-height: 1.45;
}

.presentation-wizard-step-number {
    flex: 0 0 auto;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid rgba(79, 140, 255, .3);
    border-radius: 14px;
    color: #9bc0ff;
    background: rgba(79, 140, 255, .09);
    font-size: 13px;
    font-weight: 900;
}

.presentation-wizard-fields {
    display: grid;
    gap: 20px;
}

.presentation-wizard-step .presentation-picker-field,
.presentation-wizard-step > label,
.presentation-wizard-fields > label {
    margin: 0;
}

.presentation-wizard-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    padding-top: 2px;
}

.presentation-wizard-nav .primary,
.presentation-wizard-nav .secondary {
    min-height: 48px;
    padding-left: 18px;
    padding-right: 18px;
    border-radius: 13px;
    font-weight: 800;
}

.presentation-wizard-nav .presentation-wizard-next {
    min-width: 150px;
}

.presentation-wizard-nav #create-presentation {
    flex: 1 1 auto;
    width: auto;
    margin: 0;
}

.presentation-wizard-step.is-invalid {
    animation: presentation-wizard-shake .32s ease;
}

@keyframes presentation-wizard-shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.presentation-currency-icon {
    display: inline-block;
    width: 17px;
    height: 17px;
    margin: 0 2px;
    object-fit: contain;
    vertical-align: -3px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .18));
}

.presentation-money-inline {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.presentation-money-inline .presentation-currency-icon {
    margin: 0;
    vertical-align: middle;
}

.presentation-price-range-inline {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.presentation-page #p-model-cost {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    flex-wrap: wrap;
}

.presentation-page #p-total {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.presentation-total-label {
    white-space: nowrap;
}

.presentation-price-note {
    white-space: nowrap;
}

.presentation-page .presentation-cost p span,
.presentation-page #p-total,
.presentation-page [data-mode-cost],
.presentation-page [data-p-quality] b,
.presentation-page .presentation-cost-item strong,
.presentation-page .presentation-total strong {
    line-height: 1.45;
}

@media (max-width: 680px) {
    .presentation-wizard {
        gap: 12px;
    }

    .presentation-wizard-progress-label {
        font-size: 10px;
    }

    .presentation-wizard-step {
        gap: 18px;
        padding: 18px 15px;
        border-radius: 18px;
    }

    .presentation-wizard-step-number {
        width: 38px;
        height: 38px;
        border-radius: 12px;
    }

    .presentation-wizard-nav {
        display: grid;
        grid-template-columns: minmax(0, .62fr) minmax(0, 1.38fr);
    }

    .presentation-wizard-nav:has(.presentation-wizard-next:only-child) {
        display: flex;
    }

    .presentation-wizard-nav .presentation-wizard-next:only-child {
        width: 100%;
    }

    .presentation-wizard-nav .primary,
    .presentation-wizard-nav .secondary {
        min-width: 0;
        width: 100%;
        padding-left: 12px;
        padding-right: 12px;
    }

    .presentation-page .presentation-cost p {
        display: grid;
        grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
        align-items: start;
        gap: 10px;
    }

    .presentation-page .presentation-cost p > b,
    .presentation-page .presentation-cost p > span {
        min-width: 0;
    }

    .presentation-page .presentation-cost p > span {
        width: auto;
        text-align: right;
    }

    .presentation-page #p-model-cost {
        width: auto;
        justify-content: flex-end;
        flex-wrap: wrap;
    }

    .presentation-page #p-model-cost .presentation-price-note {
        flex-basis: 100%;
        color: var(--p-muted);
        font-size: 12px;
        text-align: right;
    }

    .presentation-page #p-total {
        justify-content: flex-start;
        flex-wrap: nowrap;
    }
}

@media (prefers-reduced-motion: reduce) {
    .presentation-wizard-stage,
    .presentation-wizard-step,
    .presentation-wizard-progress-fill,
    .presentation-wizard-progress-dot {
        transition: none !important;
    }

    .presentation-wizard-step.is-invalid {
        animation: none;
    }
}
