.hostillaMigrationWizard {
    width: min(1180px, calc(100% - 34px));
    margin: 0 auto;
    color: #17251c;
    font-family: Arial, sans-serif;
}

.hostillaMigrationWizard *,
.hostillaMigrationWizard *::before,
.hostillaMigrationWizard *::after {
    box-sizing: border-box;
}

.hostillaMigrationWizard [hidden] {
    display: none !important;
}

.hostillaMigrationHero {
    display: grid;
    width: 100%;
    min-width: 0;
    grid-template-columns: minmax(0, 1.35fr) minmax(250px, .65fr);
    gap: 34px;
    align-items: end;
    padding: 34px 0 28px;
    border-bottom: 1px solid #dce8d8;
}

.hostillaMigrationEyebrow {
    margin: 0 0 8px;
    color: #4c971f;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.hostillaMigrationHero h2 {
    max-width: 780px;
    margin: 0 0 12px;
    color: #14221a !important;
    font-family: "Century Gothic", Arial, sans-serif !important;
    font-size: 34px !important;
    font-weight: 700 !important;
    line-height: 1.16 !important;
    letter-spacing: 0 !important;
}

.hostillaMigrationHero p:not(.hostillaMigrationEyebrow) {
    max-width: 820px;
    margin: 0;
    color: #536158;
    font-size: 15px;
    line-height: 1.58;
}

.hostillaMigrationTrust {
    display: grid;
    gap: 8px;
}

.hostillaMigrationTrust span {
    position: relative;
    padding: 10px 12px 10px 35px;
    border: 1px solid #dce8d6;
    border-radius: 6px;
    background: #f8fbf5;
    color: #31572a;
    font-size: 13px;
    font-weight: 700;
}

.hostillaMigrationTrust span::before {
    position: absolute;
    left: 12px;
    top: 9px;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: #57ad27;
    color: #fff;
    content: "\2713";
    font-size: 11px;
    line-height: 17px;
    text-align: center;
}

.hostillaMigrationNotice {
    margin: 20px 0 0;
    padding: 13px 15px;
    border: 1px solid #a8d28f;
    border-radius: 6px;
    background: #f1faeb;
    color: #29581d;
    font-weight: 700;
    line-height: 1.45;
}

.hostillaMigrationNotice.is-error {
    border-color: #e1ad9e;
    background: #fff4f1;
    color: #8d3024;
}

.hostillaMigrationStatus {
    margin-top: 22px;
    padding: 22px;
    border: 1px solid #d9e7d3;
    border-radius: 8px;
    background: #fff;
}

.hostillaMigrationStatusHead {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.hostillaMigrationStatusHead > div {
    padding: 13px;
    border: 1px solid #e4ece0;
    border-radius: 6px;
    background: #f9fcf7;
}

.hostillaMigrationStatusHead span {
    display: block;
    margin-bottom: 5px;
    color: #738076;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.hostillaMigrationStatusHead strong {
    display: block;
    overflow-wrap: anywhere;
    color: #16231a;
    font-size: 14px;
}

.hostillaMigrationStatusBadge {
    color: #39861b !important;
}

.hostillaMigrationTimeline {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0;
    margin: 22px 0;
    padding: 0;
    list-style: none;
}

.hostillaMigrationTimeline li {
    position: relative;
    padding: 26px 5px 0;
    color: #7b857d;
    font-size: 11px;
    font-weight: 700;
    text-align: center;
}

.hostillaMigrationTimeline li::before {
    position: absolute;
    z-index: 2;
    left: calc(50% - 8px);
    top: 0;
    width: 16px;
    height: 16px;
    border: 3px solid #d8e1d5;
    border-radius: 50%;
    background: #fff;
    content: "";
}

.hostillaMigrationTimeline li::after {
    position: absolute;
    left: -50%;
    top: 7px;
    width: 100%;
    height: 2px;
    background: #d8e1d5;
    content: "";
}

.hostillaMigrationTimeline li:first-child::after {
    display: none;
}

.hostillaMigrationTimeline li.is-done,
.hostillaMigrationTimeline li.is-current {
    color: #3f7f27;
}

.hostillaMigrationTimeline li.is-done::before,
.hostillaMigrationTimeline li.is-current::before {
    border-color: #59ad2c;
    background: #59ad2c;
}

.hostillaMigrationTimeline li.is-done::after,
.hostillaMigrationTimeline li.is-current::after {
    background: #59ad2c;
}

.hostillaMigrationMessages h3 {
    margin: 0 0 12px;
    font-size: 18px;
}

.hostillaMigrationMessage {
    margin-bottom: 8px;
    padding: 11px 13px;
    border-left: 3px solid #67b837;
    background: #f7faf5;
}

.hostillaMigrationMessage > div {
    display: flex;
    gap: 10px;
    justify-content: space-between;
    color: #6d776f;
    font-size: 11px;
}

.hostillaMigrationMessage p {
    margin: 6px 0 0;
    color: #2c3930;
    line-height: 1.45;
    white-space: pre-wrap;
}

.hostillaMigrationMessageComposer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    margin-top: 12px;
}

.hostillaMigrationMessageComposer textarea {
    min-height: 76px;
    resize: vertical;
}

.hostillaMigrationSteps {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1px;
    margin-top: 28px;
    overflow: hidden;
    border: 1px solid #dfe9da;
    border-radius: 7px;
    background: #dfe9da;
}

.hostillaMigrationSteps button {
    min-width: 0;
    min-height: 61px;
    padding: 10px 8px;
    border: 0;
    border-radius: 0;
    background: #f8fbf6;
    color: #5d695f;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.hostillaMigrationSteps button span {
    display: block;
    width: 23px;
    height: 23px;
    margin: 0 auto 5px;
    border-radius: 50%;
    background: #e6eee1;
    line-height: 23px;
}

.hostillaMigrationSteps button.is-active {
    background: #eef8e8;
    color: #317d17;
}

.hostillaMigrationSteps button.is-active span,
.hostillaMigrationSteps button.is-done span {
    background: #54aa26;
    color: #fff;
}

.hostillaMigrationBody {
    padding: 30px 0 34px;
    border-bottom: 3px solid #4da725;
}

.hostillaMigrationStep {
    display: none;
}

.hostillaMigrationStep.is-active {
    display: block;
}

.hostillaMigrationStepHead {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    margin-bottom: 22px;
}

.hostillaMigrationStepHead > span {
    flex: 0 0 45px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #4ea823;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 45px;
    text-align: center;
}

.hostillaMigrationStepHead h3 {
    margin: 1px 0 5px;
    color: #14231a;
    font-size: 23px;
    line-height: 1.25;
}

.hostillaMigrationStepHead p {
    margin: 0;
    color: #667268;
    line-height: 1.5;
}

.hostillaMigrationScopeGrid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.hostillaMigrationScope {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    min-height: 105px;
    padding: 16px;
    border: 1px solid #dce7d7;
    border-radius: 7px;
    background: #fff;
    cursor: pointer;
}

.hostillaMigrationScope:has(input:checked) {
    border-color: #65b53b;
    background: #f2faee;
    box-shadow: inset 0 0 0 1px #65b53b;
}

.hostillaMigrationScope input,
.hostillaMigrationToggle input,
.hostillaMigrationConsent input,
.hostillaMigrationChecklistGrid input {
    accent-color: #4ca521;
}

.hostillaMigrationCheck {
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    border: 1px solid #abc49f;
    border-radius: 50%;
    background: #f3f8ef;
}

.hostillaMigrationScope input {
    position: absolute;
    opacity: 0;
}

.hostillaMigrationScope input:checked + .hostillaMigrationCheck {
    border-color: #4ca521;
    background: #4ca521;
    box-shadow: inset 0 0 0 5px #fff;
}

.hostillaMigrationScope strong,
.hostillaMigrationScope small {
    display: block;
}

.hostillaMigrationScope strong {
    margin-bottom: 6px;
    color: #1d2c21;
    font-size: 16px;
}

.hostillaMigrationScope small {
    color: #6a766d;
    font-size: 12px;
    line-height: 1.45;
}

.hostillaMigrationResourceGroup {
    margin-bottom: 18px;
    padding: 17px;
    border: 1px solid #e0e9dc;
    border-radius: 7px;
    background: #fafcf9;
}

.hostillaMigrationResourceGroup > div:first-child {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 11px;
}

.hostillaMigrationResourceGroup h4 {
    margin: 0;
    color: #223027;
    font-size: 16px;
}

.hostillaMigrationResourceGroup button,
.hostillaMigrationMessageComposer button,
.hostillaMigrationResumeBox button {
    min-height: 38px;
    padding: 8px 13px;
    border: 1px solid #70b64a;
    border-radius: 5px;
    background: #fff;
    color: #357b1b;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.hostillaMigrationResourceRows {
    display: grid;
    gap: 8px;
}

.hostillaMigrationResourceRow {
    display: grid;
    grid-template-columns: minmax(180px, .8fr) minmax(220px, 1.2fr) 38px;
    gap: 8px;
}

.hostillaMigrationResourceRow [data-remove-resource] {
    min-width: 38px;
    padding: 0;
    border-color: #e3b5a9;
    color: #9c3829;
    font-size: 21px;
}

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

.hostillaMigrationField {
    display: flex;
    flex-direction: column;
    gap: 7px;
    min-width: 0;
    margin-bottom: 14px;
    color: #34463a;
    font-size: 13px;
    font-weight: 700;
}

.hostillaMigrationField--wide {
    grid-column: 1 / -1;
}

.hostillaMigrationWizard input[type="text"],
.hostillaMigrationWizard input[type="email"],
.hostillaMigrationWizard input[type="tel"],
.hostillaMigrationWizard input[type="url"],
.hostillaMigrationWizard input[type="password"],
.hostillaMigrationWizard input[type="datetime-local"],
.hostillaMigrationWizard textarea {
    width: 100%;
    min-width: 0;
    min-height: 45px;
    padding: 10px 12px;
    border: 1px solid #cfdccb;
    border-radius: 6px;
    background: #fff;
    color: #17251c;
    font: inherit;
    font-size: 14px;
}

.hostillaMigrationWizard textarea {
    min-height: 92px;
    resize: vertical;
}

.hostillaMigrationWizard input:focus,
.hostillaMigrationWizard textarea:focus,
.hostillaMigrationWizard button:focus-visible {
    outline: 3px solid #f1cf62;
    outline-offset: 2px;
    border-color: #6bae3f;
}

.hostillaMigrationField.is-invalid input,
.hostillaMigrationField.is-invalid textarea,
.hostillaMigrationConsent.is-invalid {
    border-color: #cc5545;
}

.hostillaMigrationToggle,
.hostillaMigrationConsent {
    display: flex;
    gap: 11px;
    align-items: flex-start;
    margin: 11px 0 17px;
    padding: 14px;
    border: 1px solid #dce7d8;
    border-radius: 6px;
    background: #f8fbf6;
}

.hostillaMigrationToggle strong,
.hostillaMigrationToggle small {
    display: block;
}

.hostillaMigrationToggle small {
    margin-top: 4px;
    color: #6d796f;
    line-height: 1.45;
}

.hostillaMigrationAccessSaved {
    margin: 2px 0 15px;
    padding: 12px 14px;
    border-left: 3px solid #58a92c;
    background: #f2faee;
}

.hostillaMigrationAccessSaved strong,
.hostillaMigrationAccessSaved span {
    display: block;
}

.hostillaMigrationAccessSaved span {
    margin-top: 3px;
    color: #5f6f63;
    font-size: 12px;
}

.hostillaMigrationReview {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 18px;
}

.hostillaMigrationReview > div {
    padding: 13px;
    border: 1px solid #e0e9dc;
    border-radius: 6px;
    background: #fafcf9;
}

.hostillaMigrationReview span,
.hostillaMigrationReview strong {
    display: block;
}

.hostillaMigrationReview span {
    margin-bottom: 5px;
    color: #748076;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.hostillaMigrationReview strong {
    overflow-wrap: anywhere;
    font-size: 13px;
    line-height: 1.45;
}

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

.hostillaMigrationChecklistGrid fieldset {
    margin: 0;
    padding: 15px;
    border: 1px solid #dce7d8;
    border-radius: 7px;
}

.hostillaMigrationChecklistGrid legend {
    padding: 0 6px;
    color: #284e25;
    font-weight: 700;
}

.hostillaMigrationChecklistGrid label {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    margin: 10px 0;
    color: #4b594f;
    font-size: 13px;
    line-height: 1.4;
}

.hostillaMigrationNav {
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: space-between;
    margin-top: 25px;
    padding-top: 19px;
    border-top: 1px solid #e3ebe0;
}

.hostillaMigrationNav > div {
    display: flex;
    gap: 9px;
}

.hostillaMigrationNav button {
    min-height: 45px;
    padding: 10px 18px;
    border-radius: 6px;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.hostillaMigrationPrimary {
    border: 1px solid #459b1d;
    background: #4eaa22;
    color: #fff;
}

.hostillaMigrationSecondary {
    border: 1px solid #79b65a;
    background: #fff;
    color: #347c1a;
}

.hostillaMigrationNav button:disabled,
.hostillaMigrationResumeBox button:disabled,
.hostillaMigrationMessageComposer button:disabled {
    opacity: .55;
    cursor: wait;
}

.hostillaMigrationResumeBox,
.hostillaMigrationSecurity {
    margin: 22px 0;
    padding: 18px;
    border: 1px solid #dce8d8;
    border-radius: 7px;
    background: #f8fbf6;
}

.hostillaMigrationResumeBox h3 {
    margin: 0 0 6px;
    font-size: 18px;
}

.hostillaMigrationResumeBox p,
.hostillaMigrationSecurity p {
    margin: 0 0 12px;
    color: #5d695f;
    line-height: 1.5;
}

.hostillaMigrationResumeBox > div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto auto;
    gap: 8px;
}

.hostillaMigrationDangerLink {
    border-color: #d9a397 !important;
    color: #933426 !important;
}

.hostillaMigrationSecurity {
    border-left: 4px solid #53a827;
}

.hostillaMigrationSecurity strong {
    display: block;
    margin-bottom: 6px;
}

.hostillaMigrationSecurity p {
    margin-bottom: 0;
}

@media (max-width: 920px) {
    .hostillaMigrationHero {
        grid-template-columns: 1fr;
        gap: 19px;
    }

    .hostillaMigrationTrust {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .hostillaMigrationScopeGrid,
    .hostillaMigrationReview {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hostillaMigrationResumeBox > div {
        grid-template-columns: minmax(0, 1fr) auto auto;
    }

    .hostillaMigrationResumeBox [data-discard] {
        grid-column: 1 / -1;
        justify-self: start;
    }
}

@media (max-width: 700px) {
    .hostillaMigrationWizard {
        width: min(100% - 22px, 1180px);
    }

    .hostillaMigrationHero {
        padding-top: 24px;
    }

    .hostillaMigrationHero h2 {
        font-size: 27px !important;
    }

    .hostillaMigrationTrust,
    .hostillaMigrationStatusHead,
    .hostillaMigrationScopeGrid,
    .hostillaMigrationAccessGrid,
    .hostillaMigrationContactGrid,
    .hostillaMigrationReview,
    .hostillaMigrationChecklistGrid {
        grid-template-columns: 1fr;
    }

    .hostillaMigrationSteps {
        grid-template-columns: repeat(5, 54px);
        justify-content: space-between;
        overflow-x: auto;
    }

    .hostillaMigrationSteps button {
        width: 54px;
        padding: 8px 4px;
        font-size: 0;
    }

    .hostillaMigrationSteps button span {
        margin-bottom: 0;
        font-size: 12px;
    }

    .hostillaMigrationResourceRow {
        grid-template-columns: minmax(0, 1fr) 38px;
    }

    .hostillaMigrationResourceRow [data-resource-notes] {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .hostillaMigrationResourceRow [data-remove-resource] {
        grid-column: 2;
        grid-row: 1;
    }

    .hostillaMigrationTimeline {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .hostillaMigrationTimeline li {
        min-height: 31px;
        padding: 7px 8px 7px 35px;
        text-align: left;
    }

    .hostillaMigrationTimeline li::before {
        left: 7px;
        top: 7px;
    }

    .hostillaMigrationTimeline li::after {
        left: 14px;
        top: -7px;
        width: 2px;
        height: 15px;
    }

    .hostillaMigrationMessageComposer,
    .hostillaMigrationResumeBox > div {
        grid-template-columns: 1fr;
    }

    .hostillaMigrationNav {
        align-items: stretch;
        flex-direction: column-reverse;
    }

    .hostillaMigrationNav > div {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .hostillaMigrationNav [data-submit] {
        grid-column: 1 / -1;
    }

    .hostillaMigrationNav button,
    .hostillaMigrationResumeBox button,
    .hostillaMigrationMessageComposer button {
        width: 100%;
    }
}

@media (max-width: 410px) {
    .hostillaMigrationHero h2 {
        font-size: 24px !important;
    }

    .hostillaMigrationStepHead > span {
        flex-basis: 38px;
        width: 38px;
        height: 38px;
        line-height: 38px;
    }

    .hostillaMigrationStepHead h3 {
        font-size: 20px;
    }
}
