﻿/* Essentials signup: rebuilt from template. */
html,body {
    margin: 0;
    background: #FBFBF8;
}

body.essentials-signup {
    font-family: Inter,system-ui,sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #0D0D0E;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

.essentials-signup * {
    box-sizing: border-box;
}

.essentials-signup a {
    color: inherit;
    text-decoration: none;
}

.essentials-signup a:hover {
    color: #4A4A4A;
}

.signup-shell {
    display: flex;
    min-height: 100vh;
    align-items: stretch;
}

.signup-shell aside {
    font-family: Inter,system-ui,sans-serif;
}

.signup-shell aside div[style*="font-size: 40px"],.signup-shell aside div[style*="font-size: 32px"],.signup-shell aside span[style*="font-size: 64px"],.signup-shell aside span[style*="font-size: 32px"] {
    font-family: Gellix,Manrope,sans-serif;
}

.msym {
    font-family: 'Material Symbols Outlined';
    font-weight: 300;
    font-style: normal;
    line-height: 1;
    display: inline-block;
    white-space: nowrap;
    font-feature-settings: 'liga';
}

.signup-main {
    flex: 1;
    min-width: 0;
    padding: 32px 32px 96px;
    display: flex;
    justify-content: center;
}

.signup-main-inner {
    width: 100%;
    max-width: 820px;
}

.signup-topbar {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    font-size: 14px;
    margin-bottom: 48px;
}

.signup-topbar span {
    color: rgba(17,17,17,.6);
}

#container-pricing {
    position: static;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
    text-align: left;
}

.signup-content #flash-message:empty {
    display: none;
}

.signup-content #flash-message:not(:empty) {
    margin-bottom: 24px;
    color: #D2453B;
}

.signup-steps {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 48px;
}

.signup-step {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
    font-size: 14px;
}

.signup-step:last-child {
    flex: 0;
}

.signup-step:not(:last-child)::after {
    content: '';
    height: 1px;
    background: rgba(13,13,14,.15);
    flex: 1;
    min-width: 16px;
    margin-left: 6px;
}

.step-num {
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(13,13,14,.2);
    border-radius: 50%;
    color: rgba(17,17,17,.4);
    font-size: 12px;
}

.signup-step-label {
    white-space: nowrap;
    color: rgba(17,17,17,.4);
}

.is-active .step-num {
    background: #0D0D0E;
    color: #fff;
    border-color: #0D0D0E;
}

.is-done .step-num {
    background: #0D0D0E;
    color: #C6FCFF;
    border-color: #0D0D0E;
}

.is-active .signup-step-label,.is-done .signup-step-label {
    color: #0D0D0E;
}

.is-done.signup-step::after {
    background: #0D0D0E;
}

.signup-heading {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 40px;
}

.signup-heading h1 {
    margin: 0;
    font-family: Gellix,Manrope,sans-serif;
    font-weight: 500;
    font-size: 48px;
    line-height: 1.02;
    letter-spacing: -.01em;
}

.signup-heading p {
    margin: 0;
    max-width: 560px;
    font-size: 16px;
    line-height: 1.5;
    color: rgba(17,17,17,.6);
}

.essentials-signup form {
    margin: 0;
}

.signup-field-label,.payment-field>span {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: rgba(17,17,17,.6);
    margin-bottom: 6px;
}

.essentials-signup input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=hidden]),.essentials-signup select,.essentials-signup textarea {
    width: 100%;
    height: 44px;
    margin: 0;
    padding: 10px 16px;
    border: 1px solid rgba(13,13,14,.2);
    border-radius: 4px;
    background: #fff;
    font: 500 16px Inter,system-ui,sans-serif;
    color: #0D0D0E;
    box-shadow: none;
}

.essentials-signup textarea {
    resize: vertical;
    min-height: 44px;
}

.essentials-signup input::placeholder {
    color: rgba(17,17,17,.4);
}

.essentials-signup input:focus,.essentials-signup select:focus,.essentials-signup textarea:focus {
    outline: none;
    border-color: #0D0D0E;
    box-shadow: 0 0 0 3px rgba(13,13,14,.06);
}

.signup-content-user_info form {
    max-width: 560px;
}

.signup-content-user_info .signup-heading {
    margin-bottom: 32px;
}

.signup-content-user_info form>input:not([type=hidden]),.signup-content-user_info form>div[style*="position"] {
    margin-bottom: 20px!important;
}

.signup-content-user_info form br,.company-grid br {
    display: none;
}

.signup-content-user_info input[type=password],.signup-content-user_info input[type=text][name=psswd] {
    padding-right: 76px!important;
}

.small-text,.signup-agree {
    font-size: 13px;
    line-height: 1.5;
    color: rgba(17,17,17,.4);
    font-weight: 500;
}

.signup-agree a {
    text-decoration: underline;
    color: rgba(17,17,17,.6);
}

.signup-form-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 24px;
    margin-top: 40px;
    border-top: 1px solid rgba(13,13,14,.1);
}

.essentials-signup .btn {
    float: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 24px;
    border: 1px solid rgba(13,13,14,.2);
    border-radius: 4px;
    background: transparent;
    color: #0D0D0E;
    font: 500 16px Inter,sans-serif;
    text-decoration: none;
    cursor: pointer;
    width: auto;
}

.essentials-signup .btn-solid {
    border: 0;
    background: #0D0D0E;
    color: white;
    padding: 0 28px;
}

.essentials-signup .btn-solid:hover {
    background: #222;
}

.signup-content-user_info .signup-form-actions {
    margin: 20px 0 0;
    padding: 0;
    border: 0;
}

.signup-content-user_info .btn {
    height: 48px;
    width: 100%;
}

.company-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 20px;
}

.company-grid>* {
    grid-column: 1/-1;
}

.company-grid>.half {
    grid-column: auto;
}

.company-grid>.small-text {
    margin: 20px 0 0!important;
    border-bottom: 1px solid rgba(13,13,14,.1);
    padding-bottom: 12px;
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.currency-help {
    margin: -14px 0 0;
    font-size: 13px;
    color: rgba(17,17,17,.4);
}

.company-grid .signup-form-actions {
    margin-top: 20px;
}

.plan-base-card {
    border: 1px solid #0D0D0E;
    background: #fff;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 40px;
}

.plan-base-header {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.plan-base-header strong {
    font-size: 20px;
    font-weight: 600;
    margin-right: auto;
}

.plan-base-included {
    font-size: 14px;
    color: rgba(17,17,17,.6);
}

.plan-base-price {
    font: 500 24px Gellix,Manrope,sans-serif;
}

.plan-base-desc {
    font-size: 14px;
    color: rgba(17,17,17,.6);
    margin: 4px 0 20px;
}

.plan-info-tip {
    display: none;
}

.plan-extra-users-row {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    border-top: 1px solid rgba(13,13,14,.1);
    padding-top: 20px;
}

.plan-extra-users-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.essentials-signup .plan-extra-users-select {
    width: 70px;
    height: 40px;
}

.plan-extra-users-rate {
    font-size: 14px;
    color: rgba(17,17,17,.6);
}

.plan-extra-users-subtotal {
    margin-left: auto;
}

.plan-section-title {
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(17,17,17,.4);
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(13,13,14,.1);
    font-weight: 500;
}

.plan-addon-list {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 16px;
    margin-bottom: 40px;
}

.plan-addon-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    border: 1px solid rgba(13,13,14,.2);
    border-radius: 8px;
    padding: 20px;
    background: #fff;
    cursor: pointer;
}

.plan-addon-item:has(input:checked) {
    border-color: #0D0D0E;
}

.plan-addon-item input {
    width: 18px;
    height: 18px;
    accent-color: #0D0D0E;
    flex: 0 0 18px;
    margin: 2px 0 0;
}

.plan-addon-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.plan-addon-name {
    font-size: 16px;
    font-weight: 600;
}

.plan-addon-desc {
    font-size: 14px;
    color: rgba(17,17,17,.6);
}

.plan-addon-price {
    font-size: 14px;
}

.plan-options-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.plan-options-row--billing-only {
    grid-template-columns: 1fr;
}

.plan-options-row .plan-section-title {
    border: 0;
    padding: 0;
}

.plan-billing-toggle {
    display: flex;
    width: 100%;
    gap: 8px;
}

.plan-billing-option {
    flex: 1 1 0;
    min-width: 0;
    justify-content: center;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(13,13,14,.2);
    border-radius: 4px;
    padding: 12px 16px;
    background: #fff;
    cursor: pointer;
    font-size: 14px;
}

.plan-billing-option:has(input:checked) {
    border-color: #0D0D0E;
}

.plan-billing-option input {
    accent-color: #0D0D0E;
    margin: 0;
    width: 16px;
    height: 16px;
}

.plan-billing-option em {
    font-style: normal;
}

.plan-summary-box {
    background: #F7F6F5;
    border-radius: 8px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.plan-summary-box .plan-section-title {
    border: 0;
    padding: 0;
    margin: 0;
}

.plan-summary-line {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.plan-summary-line.muted {
    color: rgba(17,17,17,.6);
}

.plan-summary-total {
    border-top: 1px solid rgba(13,13,14,.1);
    padding-top: 16px;
    font: 500 28px Gellix,Manrope,sans-serif;
    text-align: right;
}

.plan-summary-total strong {
    float: left;
    font: 500 16px Inter,sans-serif;
}

.signup-payment-layout {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 40px;
    align-items: start;
}

.signup-payment-billing {
    margin-bottom: 20px;
}

.signup-payment-billing .plan-section-title {
    border: 0;
    padding: 0;
}

.signup-payment-billing .plan-billing-toggle {
    flex-direction: column;
}

.signup-payment-billing .plan-billing-option {
    justify-content: flex-start;
    text-align: left;
}

.signup-payment-section-title {
    border: 0;
    padding: 0;
}

.signup-payment-card-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 16px;
    margin: 20px 0;
}

.signup-payment-card-full {
    grid-column: 1/-1;
}

.signup-payment-note {
    font-size: 14px;
    color: rgba(17,17,17,.6);
    margin: 0;
}

.signup-payment-note:not(.signup-payment-note-lead) {
    background: #F7F6F5;
    border: 1px solid rgba(13,13,14,.1);
    border-radius: 8px;
    padding: 16px;
}

.signup-payment-recurring {
    font-size: 14px;
}

.signup-payment-pay-action {
    margin-top: 20px;
    padding: 0;
    border: 0;
}

.signup-payment-pay-action .btn {
    width: 100%;
    height: 48px;
}

.payment-security {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: rgba(17,17,17,.4);
    line-height: 1.5;
    margin: 20px 0 0;
}

.signup-payment-footer-actions {
    justify-content: flex-start;
}

.signup-content-payment_skip .signup-heading {
    text-align: center;
    margin-bottom: 28px;
}

.signup-content-payment_skip .signup-skip-message {
    text-align: center;
    font-size: 18px;
    padding: 28px;
    margin-bottom: 28px;
}

.signup-skip-lead {
    margin: 0;
}

.signup-content-payment_skip>.signup-form-actions {
    border: 0;
    padding: 0;
    margin: 0;
}

.signup-content-payment_skip>.signup-form-actions .btn {
    width: 100%;
    height: 48px;
}

.success-icon {
    width: 56px;
    height: 56px;
    background: #0D0D0E;
    color: #C6FCFF;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 48px auto 28px;
}

.success-icon .msym {
    font-size: 28px;
}

.signup-content-payment_skip {
    max-width: 560px!important;
    margin: auto!important;
}

@media(min-width:1100px) {
    .signup-main {
        padding-left: 72px;
        padding-right: 72px;
    }

}

@media(min-width:1440px) {
    .signup-main {
        padding-left: 155px;
        padding-right: 155px;
    }

}

@media(max-width:1099px) {
    .signup-shell aside {
        flex-basis: 320px!important;
        padding: 32px 24px!important;
    }

    .signup-steps {
        gap: 10px;
    }

    .signup-step {
        gap: 6px;
    }

    .signup-step-label {
        font-size: 12px;
    }

    .plan-options-row,.signup-payment-layout {
        grid-template-columns: 1fr;
    }

    .plan-billing-toggle {
        flex-wrap: wrap;
    }

}

@media(max-width:760px) {
    .signup-shell {
        display: block;
    }

    .signup-shell aside {
        display: none!important;
    }

    .signup-main {
        padding: 24px 20px 48px;
    }

    .signup-heading h1 {
        font-size: 36px;
    }

    .signup-steps {
        flex-wrap: wrap;
    }

    .signup-step {
        flex: 1 1 40%;
    }

    .signup-step:last-child {
        flex: 1 1 40%;
    }

    .signup-step::after {
        display: none;
    }

    .signup-topbar {
        margin-bottom: 32px;
    }

    .plan-addon-list {
        grid-template-columns: 1fr;
    }

    .company-grid>.half {
        grid-column: 1/-1;
    }

}

/* The existing eye classes drive Show/Hide without changing JavaScript. */
.fa.fa-eye,.fa.fa-eye-slash {
    font-family: Inter,sans-serif!important;
    font-size: 14px!important;
    font-weight: 500!important;
    font-style: normal;
    color: rgba(17,17,17,.6)!important;
}

.fa.fa-eye:before {
    content: "Show"!important;
}

.fa.fa-eye-slash:before {
    content: "Hide"!important;
}

.step-num {
    flex-basis: 22px;
    width: 22px;
    height: 22px;
}

.plan-addon-item {
    padding: 16px;
    gap: 14px;
    box-shadow: 0 1px 2px rgba(13,13,14,.04);
}

.plan-base-header {
    position: relative;
    padding-bottom: 24px;
}

.plan-base-desc {
    position: relative;
    margin-top: -20px;
    max-width: 55%;
}

.signup-content-payment_skip .signup-steps {
    display: none;
}

.essentials-signup .required-asterisk {
    color: #e32;
}

/* Plan Module (i) icon clickable */
.essentials-signup .plan-addon-info-wrap {
    position: relative;
    min-width: 0;
}
.essentials-signup .plan-addon-info-wrap:has(.plan-module-popover:not([hidden])) {
    z-index: 30;
}
.essentials-signup .plan-addon-info-wrap .plan-addon-item {
    height: 100%;
    box-sizing: border-box;
}
.essentials-signup .plan-addon-info-wrap .plan-addon-name {
    padding-right: 24px;
}
.essentials-signup .plan-module-info-button {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: 0;
    border-radius: 4px;
    padding: 0;
    cursor: pointer;
    color: rgba(17, 17, 17, 0.35);
    font-size: 16px;
}
.essentials-signup .plan-module-info-button:hover,
.essentials-signup .plan-module-info-button[aria-expanded="true"] {
    color: #0D0D0E;
}
.essentials-signup .plan-module-popover {
    position: absolute;
    top: 46px;
    right: 8px;
    z-index: 30;
    width: 300px;
    max-width: calc(100vw - 48px);
    background: #FFFFFF;
    border: 1px solid rgba(13, 13, 14, 0.10);
    border-radius: 8px;
    box-shadow: 0 16px 40px rgba(13, 13, 14, 0.14), 0 1px 2px rgba(13, 13, 14, 0.04);
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: left;
}
.essentials-signup .plan-module-popover[hidden] {
    display: none;
}
.essentials-signup .plan-module-popover-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    color: #0D0D0E;
}
.essentials-signup .plan-module-info-close {
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
    color: rgba(17, 17, 17, 0.40);
    font: inherit;
    font-size: 22px;
    line-height: 1;
}
.essentials-signup .plan-module-popover p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: rgba(17, 17, 17, 0.60);
    text-wrap: pretty;
}
.essentials-signup .plan-module-benefits {
    padding-top: 16px;
    border-top: 1px solid rgba(13, 13, 14, 0.10);
}
.essentials-signup .plan-module-benefits-title {
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(17, 17, 17, 0.40);
    margin-bottom: 10px;
}
.essentials-signup .plan-module-benefits ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.essentials-signup .plan-module-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    line-height: 1.5;
    color: #0D0D0E;
}
.essentials-signup .plan-module-benefits .fa {
    flex-shrink: 0;
    margin-top: 3px;
}
.essentials-signup .plan-module-info-button:focus-visible,
.essentials-signup .plan-module-info-close:focus-visible {
    outline: 2px solid #0D0D0E;
    outline-offset: 2px;
}
/**/

/* Signup Testimonial Carousel */
.signup-testimonial-carousel {
    width: 100%;
}
.signup-testimonial-track {
    display: grid;
}
.signup-testimonial-slide {
    grid-area: 1 / 1;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 64px;
    padding: 28px;
    border-radius: 8px;
    background: #151518;
    border: 1px solid rgba(255, 255, 255, 0.10);
    min-width: 0;
    box-sizing: border-box;
    opacity: 1;
    visibility: visible;
    z-index: 1;
    transition: opacity 350ms ease, visibility 0s;
}
.signup-testimonial-slide[hidden] {
    display: flex;
    opacity: 0;
    visibility: hidden;
    z-index: 0;
    pointer-events: none;
    transition: opacity 350ms ease, visibility 0s linear 350ms;
}
.signup-testimonial-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
    gap: 16px;
}
.signup-testimonial-dots {
    display: flex;
    align-items: center;
    gap: 8px;
}
.signup-testimonial-dot {
    position: relative;
    display: block;
    appearance: none;
    width: 6px;
    height: 6px;
    min-width: 0;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.30);
    cursor: pointer;
    transition: width 350ms ease, background-color 350ms ease;
}
.signup-testimonial-dot::before {
    content: "";
    position: absolute;
    inset: -9px -3px;
}
.signup-testimonial-dot.is-active {
    width: 20px;
    background: #C6FCFF;
}
.signup-testimonial-dot:focus-visible {
    outline: 2px solid #C6FCFF;
    outline-offset: 5px;
}

@media (prefers-reduced-motion: reduce) {
    .signup-testimonial-slide,
    .signup-testimonial-slide[hidden],
    .signup-testimonial-dot {
        transition: none;
    }
}
/**/

.essentials-signup .payment-card-number-wrap {
    display: block;
    position: relative;
    width: 100%;
}

.essentials-signup .payment-card-number-wrap input {
    width: 100%;
    box-sizing: border-box;
    padding-left: 40px;
    padding-right: 168px;
}

.essentials-signup .payment-card-lock {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    color: #9CA3AF;
    pointer-events: none;
}

.essentials-signup .payment-card-brands {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    gap: 6px;
    pointer-events: none;
}

.essentials-signup .payment-card-brands > span {
    padding: 4px 8px;
    border: 1px solid #D1D5DB;
    border-radius: 2px;
    background: #FFFFFF;
    color: #667085;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.2;
}

.essentials-signup .payment-card-number-wrap input[name="number"] {
    padding-left: 40px !important;
    padding-right: 168px !important;
    box-sizing: border-box;
}

/* Mobile signup layout and compact stepper. */
.essentials-signup .signup-mobile-header,
.essentials-signup .signup-step-caption {
    display: none;
}
/* DOM order follows mobile reading order; desktop restores the left sidebar. */
.essentials-signup .signup-shell > aside {
    order: 0;
}
.essentials-signup .signup-shell > main {
    order: 1;
}
@media (max-width: 959px) {
    .essentials-signup .signup-shell {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }
    .essentials-signup .signup-mobile-header {
        display: flex;
        order: 0;
        align-items: center;
        padding: 18px 20px;
        background: #0D0D0E;
    }
    .essentials-signup .signup-mobile-header img {
        display: block;
        width: 150px;
        height: auto;
    }
    .essentials-signup .signup-shell > main {
        order: 1;
        flex: 0 0 auto;
        width: 100%;
        padding: 16px 32px 56px;
        box-sizing: border-box;
    }
    .essentials-signup .signup-shell > aside {
        display: flex !important;
        order: 2;
        flex: 0 0 auto !important;
        width: 100%;
        min-width: 0;
        padding: 40px 20px 32px !important;
        gap: 32px !important;
        box-sizing: border-box;
    }
    .essentials-signup .signup-shell > aside > div:has(> img[alt="Tradogram"]) {
        display: none;
    }
    .essentials-signup .signup-topbar {
        margin-bottom: 28px;
    }
    .essentials-signup .signup-stepper {
        margin-bottom: 28px;
    }
    .essentials-signup .signup-stepper .signup-steps {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        gap: 0;
        margin: 0;
        width: 100%;
    }
    .essentials-signup .signup-stepper .signup-step {
        display: flex;
        flex: 1 1 0;
        min-width: 0;
        gap: 0;
        align-items: center;
        min-height: 44px;
    }
    .essentials-signup .signup-stepper .signup-step:last-child {
        flex: 0 0 22px;
    }
    .essentials-signup .signup-stepper .signup-step-label {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
    }
    .essentials-signup .signup-stepper .step-num {
        flex: 0 0 22px;
        width: 22px;
        height: 22px;
        font-size: 12px;
        box-sizing: border-box;
    }
    .essentials-signup .signup-stepper .signup-step:not(:last-child)::after {
        content: "";
        display: block;
        position: static;
        flex: 1 1 auto;
        width: auto;
        min-width: 16px;
        height: 1px;
        margin: 0 10px;
        background: rgba(13, 13, 14, 0.15);
    }
    .essentials-signup .signup-stepper .signup-step.is-done::after {
        background: #0D0D0E;
    }
    .essentials-signup .signup-step-caption {
        display: block;
        margin: 12px 0 0;
        font-size: 14px;
        line-height: 1.5;
        color: rgba(17, 17, 17, 0.60);
        text-align: left;
    }
}
@media (max-width: 599px) {
    .essentials-signup .signup-shell > main {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* Compact stepper on tablets with the desktop sidebar. */
@media (min-width: 960px) and (max-width: 1199px) {
    .essentials-signup .signup-stepper .signup-steps {
        display: flex;
        flex-wrap: nowrap;
        gap: 0;
        width: 100%;
        margin-bottom: 0;
    }

    .essentials-signup .signup-stepper .signup-step {
        display: flex;
        flex: 1 1 0;
        min-width: 0;
        min-height: 44px;
        gap: 0;
    }

    .essentials-signup .signup-stepper .signup-step:last-child {
        flex: 0 0 22px;
    }

    .essentials-signup .signup-stepper .signup-step-label {
        display: none;
    }

    .essentials-signup .signup-stepper .step-num {
        flex: 0 0 22px;
        width: 22px;
        height: 22px;
        box-sizing: border-box;
    }

    .essentials-signup .signup-stepper .signup-step:not(:last-child)::after {
        content: "";
        display: block;
        position: static;
        flex: 1 1 auto;
        width: auto;
        min-width: 16px;
        height: 1px;
        margin: 0 10px;
    }

    .essentials-signup .signup-step-caption {
        display: block;
        margin: 12px 0 0;
        font-size: 14px;
        line-height: 1.5;
        color: rgba(17, 17, 17, 0.60);
        text-align: left;
    }

    .essentials-signup .signup-stepper {
        margin-bottom: 28px;
    }
}

/* Desktop: keep the full stepper inside the login block's width. */
@media (min-width: 1200px) {
    .essentials-signup .signup-stepper .signup-steps {
        display: grid;
        grid-template-columns:
            24px max-content minmax(0, 1fr)
            24px max-content minmax(0, 1fr)
            24px max-content minmax(0, 1fr)
            24px max-content;
        align-items: center;
        column-gap: 10px;
        width: 100%;
        box-sizing: border-box;
    }

    .essentials-signup .signup-stepper .signup-step {
        display: contents;
    }

    .essentials-signup .signup-stepper .signup-step-label {
        white-space: nowrap;
    }

    .essentials-signup .signup-stepper .signup-step:not(:last-child)::after {
        content: "";
        display: block;
        position: static;
        width: 100%;
        min-width: 0;
        height: 1px;
        margin: 0;
    }
}