html, body {
    margin: 0;
    padding: 0;
    min-height: 100%;
    font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    color: #1d2b52;
    background: #eef3ff;
}

* {
    box-sizing: border-box;
}

body {
    min-height: 100vh;
}

.app-page {
    min-height: 100vh;
    background: #eef3ff;
}

.app-page--hero {
    background: #eef3ff;
}

.app-shell {
    width: 100%;
    padding: 24px;
}

.app-shell--stack {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.app-hero {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 18px 60px rgba(18, 43, 121, 0.18);
    background:
        radial-gradient(circle at 0% 32%, transparent 0 18%, rgba(255,255,255,.055) 18% 33%, transparent 33.5%),
        radial-gradient(circle at 60% 8%, transparent 0 15%, rgba(255,255,255,.05) 15% 28%, transparent 28.5%),
        radial-gradient(circle at 48% 110%, transparent 0 16%, rgba(255,255,255,.05) 16% 29%, transparent 29.5%),
        radial-gradient(circle at 100% 72%, transparent 0 14%, rgba(255,255,255,.05) 14% 27%, transparent 27.5%),
        linear-gradient(180deg, #1f49dd 0%, #1745df 42%, #1746e3 100%);
}

.app-hero--wide {
    max-width: 1280px;
}

.app-hero__inner {
    min-height: 240px;
    padding: 36px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.app-hero__inner--left {
    justify-content: flex-start;
    text-align: left;
}

.app-hero__content {
    max-width: 760px;
}

.app-kicker {
    display: inline-flex;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.14);
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.app-hero__title {
    margin: 16px 0 0;
    font-size: 40px;
    line-height: 1.12;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.03em;
}

.app-hero__title--small {
    font-size: 42px;
}

.app-hero__lead {
    margin: 16px 0 0;
    font-size: 17px;
    line-height: 1.65;
    color: rgba(255,255,255,.88);
}

.wizard-grid {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    gap: 24px;
    align-items: start;
}

.wizard-grid--steps {
    grid-template-columns: 320px minmax(0, 1fr);
}

.wizard-main {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.app-card {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 10px 34px rgba(22, 46, 128, 0.08);
    padding: 24px;
}

.app-card--sidebar {
    position: sticky;
    top: 24px;
}

.section-card {
    padding: 28px;
}

.section-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.section-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.section-step {
    display: inline-flex;
    margin-bottom: 10px;
    padding: 7px 12px;
    border-radius: 999px;
    background: #edf2ff;
    color: #1746e3;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.section-title {
    margin: 0;
    font-size: 24px;
    line-height: 1.25;
    font-weight: 800;
    color: #1d2b52;
}

.steps-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.step-link {
    width: 100%;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 14px;
    border: 1px solid #dce5f7;
    border-radius: 18px;
    background: #f8fbff;
    color: #30415d;
    text-align: left;
    cursor: pointer;
}

.step-link.is-active {
    background: #1746e3;
    border-color: #1746e3;
    color: #ffffff;
    box-shadow: 0 12px 24px rgba(23, 70, 227, 0.18);
}

.step-link__num {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(23, 70, 227, 0.10);
    color: inherit;
    font-size: 16px;
    font-weight: 800;
}

.step-link.is-active .step-link__num {
    background: rgba(255,255,255,0.18);
}

.step-link__text {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
}

.step-page {
    display: none;
}

.step-page.is-active {
    display: block;
}

.guide-list {
    margin: 16px 0 0;
    padding-left: 18px;
    color: #44516f;
    line-height: 1.7;
}

.guide-list--compact {
    margin-top: 12px;
}

.guide-list li + li {
    margin-top: 10px;
}

.info-panel {
    margin-top: 22px;
    padding: 18px;
    border-radius: 18px;
    background: #f7f9ff;
    border: 1px solid #e0e8ff;
}

.info-panel--soft {
    background: #f7fbff;
    border-color: #dbeafe;
}

.info-panel__title {
    margin: 0 0 10px;
    font-size: 16px;
    font-weight: 800;
    color: #1d2b52;
}

.info-panel__text,
.plain-list {
    margin: 0;
    color: #526280;
    line-height: 1.65;
}

.plain-list {
    padding-left: 18px;
}

.status-banner {
    margin-top: 16px;
    padding: 15px 18px;
    border-radius: 18px;
    font-size: 14px;
    line-height: 1.5;
    border: 1px solid transparent;
    opacity: 1;
    max-height: 120px;
    overflow: hidden;
    transition: opacity .3s ease, max-height .3s ease, margin .3s ease, padding .3s ease, border-width .3s ease;
}

.status-banner.is-hidden {
    display: none;
}


.status-banner--muted {
    background: #f8fafc;
    color: #516176;
    border-color: #e2e8f0;
}

.status-banner--success {
    background: #edfdf4;
    color: #166534;
    border-color: #bbf7d0;
}

.status-banner--error {
    background: #fff1f2;
    color: #9f1239;
    border-color: #fecdd3;
}

.form-grid {
    display: grid;
    gap: 16px;
}

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

.form-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 16px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.field--full {
    grid-column: 1 / -1;
}

.field__label {
    font-size: 13px;
    font-weight: 700;
    color: #526280;
}

.field__control {
    width: 100%;
    min-height: 52px;
    padding: 12px 16px;
    border-radius: 16px;
    border: 1px solid #d7e0f5;
    font-size: 14px;
    font-weight: 600;
    color: #183153;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.95);
    outline: none;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease, background-color .18s ease;
}

.field__control:hover {
    border-color: #bfd0f7;
    background: linear-gradient(180deg, #ffffff 0%, #f3f8ff 100%);
}

.field__control:focus {
    border-color: #1746e3;
    box-shadow: 0 0 0 4px rgba(23, 70, 227, 0.08), 0 10px 24px rgba(23, 70, 227, 0.08);
    background: #ffffff;
}

.field--select {
    position: relative;
}

.select-shell {
    position: relative;
    display: block;
}

.select-shell::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 14px;
    width: 22px;
    height: 22px;
    border-radius: 7px;
    background: #edf2ff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='M3.5 5.25L7 8.75L10.5 5.25' stroke='%231746e3' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px 14px no-repeat;
    transform: translateY(-50%);
    pointer-events: none;
    box-shadow: inset 0 0 0 1px rgba(23, 70, 227, 0.08);
}

select.field__control {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 52px;
    cursor: pointer;
    background-image: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    background-repeat: no-repeat;
}

select.field__control:hover {
    background-image: linear-gradient(180deg, #ffffff 0%, #f3f8ff 100%);
}

select.field__control:focus {
    background-image: linear-gradient(180deg, #ffffff 0%, #ffffff 100%);
}

select.field__control::-ms-expand {
    display: none;
}


.action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border: none;
    border-radius: 14px;
    background: #1746e3;
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(23, 70, 227, 0.18);
    position: relative;
    gap: 10px;
}

.action-btn--ghost {
    background: #edf2ff;
    color: #1746e3;
    box-shadow: none;
}

.hint-box {
    margin-top: 16px;
    padding: 15px 16px;
    border-radius: 16px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1e3a8a;
    line-height: 1.6;
    font-size: 14px;
}

.hint-box--soft {
    background: #f8fafc;
    border-color: #e2e8f0;
    color: #475569;
}

.empty-state {
    padding: 20px;
    border-radius: 18px;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    color: #64748b;
    line-height: 1.6;
}

.mapping-wrap {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.mapping-row {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
    gap: 18px;
    padding: 18px;
    border-radius: 18px;
    background: #fbfcff;
    border: 1px solid #e3eaf8;
}

.mapping-title {
    font-size: 15px;
    font-weight: 800;
    color: #1d2b52;
}

.mapping-meta {
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.55;
    color: #64748b;
}

.mapping-meta--values {
    color: #36517f;
}

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

.preview-card {
    position: relative;
    padding: 18px;
    border-radius: 18px;
    background: #fbfcff;
    border: 1px solid #e3eaf8;
}

.preview-card__label {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: #64748b;
}

.preview-card__value {
    margin-top: 10px;
    font-size: 20px;
    font-weight: 800;
    color: #1d2b52;
    word-break: break-word;
}

.code-block {
    margin: 0;
    padding: 20px;
    border-radius: 18px;
    background: #0f172a;
    color: #e2e8f0;
    overflow: auto;
    font-size: 13px;
    line-height: 1.65;
}

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

.doc-grid--single {
    grid-template-columns: minmax(0, 1fr);
}

.doc-grid--single .doc-card {
    max-width: none;
}

.doc-card {
    padding: 20px;
    border-radius: 20px;
    border: 1px solid #e3eaf8;
    background: #fbfcff;
}

.doc-card--accent {
    background: linear-gradient(180deg, #f4f8ff 0%, #eef4ff 100%);
    border-color: #cfe0ff;
}

.doc-card__title {
    margin: 0;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 800;
    color: #1d2b52;
}

.doc-card__text {
    margin: 10px 0 0;
    color: #55657f;
    line-height: 1.6;
}

.page-actions {
    margin-top: 20px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.install-page {
    min-height: 100vh;
    background: #eef3ff;
}

.install-shell {
    min-height: 100vh;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.install-hero {
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 18px 60px rgba(18, 43, 121, 0.18);
    background:
        radial-gradient(circle at 0% 32%, transparent 0 18%, rgba(255,255,255,.055) 18% 33%, transparent 33.5%),
        radial-gradient(circle at 60% 8%, transparent 0 15%, rgba(255,255,255,.05) 15% 28%, transparent 28.5%),
        linear-gradient(180deg, #1f49dd 0%, #1745df 42%, #1746e3 100%);
}

.install-hero__inner {
    padding: 36px 40px;
    text-align: center;
}

.install-title {
    margin: 0;
    font-size: 34px;
    line-height: 1.12;
    font-weight: 800;
    color: #ffffff;
}

.install-subtitle {
    margin: 12px 0 0;
    font-size: 16px;
    line-height: 1.5;
    color: rgba(255,255,255,0.86);
}

.install-card {
    margin-top: 24px;
    background: #ffffff;
    border-radius: 24px;
    padding: 24px;
    text-align: center;
}

.install-card__text {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    color: #1d2b52;
}

.install-countdown {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    margin: 0 4px;
    border-radius: 999px;
    background: #edf2ff;
    color: #1746e3;
    font-weight: 800;
}

.install-actions {
    margin-top: 18px;
    display: flex;
    justify-content: center;
}

.install-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 24px;
    border: none;
    border-radius: 16px;
    background: #1746e3;
    color: #ffffff;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(23, 70, 227, 0.22);
}

.install-status {
    margin-top: 14px;
    font-size: 14px;
    color: #5f6f98;
    text-align: center;
}

@media screen and (max-width: 1100px) {
    .wizard-grid--steps {
        grid-template-columns: 1fr;
    }

    .app-card--sidebar {
        position: static;
    }

    .doc-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 860px) {
    .form-grid--2,
    .form-grid--3,
    .preview-grid,
    .mapping-row {
        grid-template-columns: 1fr;
    }

    .section-head {
        flex-direction: column;
    }
}

@media screen and (max-width: 640px) {
    .app-shell,
    .install-shell {
        padding: 14px;
    }

    .app-hero__inner,
    .install-hero__inner {
        min-height: auto;
        padding: 24px 18px;
    }

    .app-hero__title,
    .app-hero__title--small {
        font-size: 30px;
    }

    .app-card,
    .section-card,
    .install-card,
    .doc-card {
        padding: 18px;
    }

    .section-actions,
    .page-actions {
        width: 100%;
    }

    .action-btn {
        width: 100%;
    }
}

.preview-card__value--small {
    font-size: 15px;
    line-height: 1.5;
}

.step-page[data-step-page="3"] .form-grid {
    gap: 22px;
}

.step-page[data-step-page="3"] .form-grid + .form-grid {
    margin-top: 10px;
}

.hint-box--spaced {
    margin-bottom: 18px;
}

.preview-card__head,
.code-block-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.preview-card__head {
    min-height: 18px;
    padding-right: 42px;
}

.code-block-wrap {
    margin-top: 18px;
}

.code-block-head {
    margin-bottom: 10px;
}

.copy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid #cfe0ff;
    border-radius: 12px;
    background: #edf4ff;
    color: #1746e3;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: background-color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.copy-btn:hover {
    background: #e1edff;
    border-color: #b7cffc;
    box-shadow: 0 8px 18px rgba(23, 70, 227, 0.08);
}

.copy-btn:active {
    transform: translateY(1px);
}

.copy-btn--icon {
    width: 36px;
    min-width: 36px;
    min-height: 36px;
    padding: 0;
    border-radius: 12px;
}

.preview-card__head .copy-btn--icon {
    position: absolute;
    top: 14px;
    right: 14px;
}

.copy-btn__icon {
    width: 16px;
    height: 16px;
    position: relative;
    display: inline-block;
}

.copy-btn__icon::before,
.copy-btn__icon::after {
    content: "";
    position: absolute;
    border: 1.8px solid #1746e3;
    border-radius: 4px;
    background: rgba(255,255,255,0.7);
}

.copy-btn__icon::before {
    width: 10px;
    height: 10px;
    top: 3px;
    left: 4px;
}

.copy-btn__icon::after {
    width: 10px;
    height: 10px;
    top: 0;
    left: 1px;
    background: #edf4ff;
}

.mapping-section {
    margin-top: 18px;
}

.mapping-section.is-hidden {
    display: none;
}

.mapping-section__title {
    margin: 0 0 12px;
    font-size: 16px;
    font-weight: 800;
    color: #1d2b52;
}

.related-mode-card {
    margin-top: 18px;
    padding: 18px;
    border-radius: 18px;
    background: #f8fbff;
    border: 1px solid #dbe7ff;
}

.integration-layout {
    grid-template-columns: 300px minmax(0, 1fr);
}

.integration-main {
    gap: 24px;
}

.steps-nav--compact .step-link {
    cursor: default;
}

.sidebar-note {
    margin-top: 20px;
}

.integration-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.integration-item {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 16px 18px;
    border: 1px solid #dce5f7;
    border-radius: 18px;
    background: #f8fbff;
    color: #30415d;
    text-align: left;
    cursor: pointer;
}

.integration-item.is-active {
    border-color: #1746e3;
    box-shadow: 0 12px 24px rgba(23, 70, 227, 0.12);
    background: #eef3ff;
}

.integration-item__title {
    font-size: 15px;
    font-weight: 800;
    color: #1d2b52;
}

.integration-item__meta {
    font-size: 13px;
    color: #64748b;
}

.integration-item__badge {
    display: inline-flex;
    padding: 4px 10px;
    border-radius: 999px;
    background: #fff7ed;
    color: #b45309;
    font-size: 12px;
    font-weight: 700;
}

.editor-content.is-hidden,
.hint-box.is-hidden {
    display: none;
}

.static-row {
    display: grid;
    grid-template-columns: minmax(240px, .9fr) minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 16px 18px;
    border-radius: 18px;
    background: #fbfcff;
    border: 1px solid #e3eaf8;
}

.preview-grid--single {
    grid-template-columns: minmax(0, 1fr);
}

.preview-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

@media (max-width: 980px) {
    .integration-layout,
    .wizard-grid--steps,
    .form-grid--2,
    .form-grid--3,
    .mapping-row,
    .static-row {
        grid-template-columns: 1fr;
    }

    .app-card--sidebar {
        position: static;
    }
}

.app-hero--compact {
    max-width: 1280px;
    border-radius: 22px;
}

.app-hero__inner--compact {
    min-height: 132px;
    padding: 24px 30px;
}

.app-hero__content--compact {
    max-width: 720px;
}

.app-hero__title--compact {
    margin: 0;
    font-size: 30px;
}

.app-hero__lead--compact {
    margin-top: 10px;
    font-size: 15px;
    line-height: 1.5;
}

.wizard-grid--compact {
    grid-template-columns: 250px minmax(0, 1fr);
}

.page-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.page-actions--spread {
    justify-content: space-between;
}

.mapping-section + .mapping-section {
    margin-top: 20px;
}

.editor-content {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

@media (max-width: 980px) {
    .wizard-grid--compact {
        grid-template-columns: 1fr;
    }

    .app-hero__inner--compact {
        min-height: 120px;
        padding: 20px 22px;
    }

    .app-hero__title--compact {
        font-size: 24px;
    }
}


.app-hero--compact {
    border-radius: 22px;
    box-shadow: 0 14px 34px rgba(18, 43, 121, 0.14);
}

.app-hero__inner--compact {
    min-height: 136px;
    padding: 24px 28px;
}

.app-hero__content--compact {
    max-width: 620px;
}

.app-hero__title--compact {
    margin-top: 0;
    font-size: 30px;
    line-height: 1.1;
}

.app-hero__lead--compact {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.55;
}

.wizard-grid--compact {
    gap: 18px;
}

.wizard-grid--compact .app-card--sidebar {
    padding: 18px;
}

.wizard-grid--compact .section-card {
    padding: 24px;
}

.step-intro {
    margin-bottom: 18px;
    padding: 16px 18px;
    border-radius: 18px;
    background: linear-gradient(180deg, #f9fbff 0%, #f4f8ff 100%);
    border: 1px solid #dfe7fb;
}

.step-intro__title {
    font-size: 14px;
    font-weight: 800;
    color: #1d2b52;
}

.step-intro__text {
    margin-top: 8px;
    color: #586780;
    line-height: 1.65;
    font-size: 14px;
}

.step-intro--text-only .step-intro__text {
    margin-top: 0;
}

.integration-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.integration-item {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 18px;
    border-radius: 18px;
    border: 1px solid #dfe7fb;
    background: #fbfdff;
    text-align: left;
    cursor: pointer;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.integration-item:hover {
    border-color: #c6d5fa;
    box-shadow: 0 10px 24px rgba(23, 70, 227, 0.08);
    transform: translateY(-1px);
}

.integration-item.is-active {
    border-color: #1746e3;
    box-shadow: 0 12px 28px rgba(23, 70, 227, 0.14);
    background: #f7faff;
}

.integration-item__title {
    font-size: 15px;
    font-weight: 800;
    color: #1d2b52;
}

.integration-item__meta {
    font-size: 13px;
    color: #64748b;
}

.integration-item__badge {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 999px;
    background: #fff7ed;
    color: #9a3412;
    font-size: 12px;
    font-weight: 700;
}

.editor-content {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.mapping-section + .mapping-section {
    margin-top: 22px;
}

.mapping-section__title {
    margin: 0 0 14px;
    font-size: 17px;
    font-weight: 800;
    color: #1d2b52;
}

.static-row {
    display: grid;
    grid-template-columns: minmax(240px, .9fr) minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    position: relative;
}

.static-row--invalid {
    border-radius: 18px;
    background: #fff1f2;
    box-shadow: 0 0 0 2px #fda4af inset, 0 0 0 4px rgba(244, 63, 94, 0.10);
    animation: static-row-pulse 0.45s ease 0s 2 alternate;
}

@keyframes static-row-pulse {
    from {
        box-shadow: 0 0 0 1px #fda4af inset, 0 0 0 0 rgba(244, 63, 94, 0.06);
    }
    to {
        box-shadow: 0 0 0 1px #fb7185 inset, 0 0 0 4px rgba(244, 63, 94, 0.16);
    }
}

.preview-grid--single {
    grid-template-columns: minmax(0, 1fr);
}

.preview-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.copy-btn--icon.is-copied {
    background: #dff7e7;
    border-color: #86efac;
}

@media screen and (max-width: 860px) {
    .static-row {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 640px) {
    .app-hero__inner--compact {
        padding: 20px 18px;
    }

    .app-hero__title--compact {
        font-size: 24px;
    }

    .app-hero__lead--compact {
        font-size: 13px;
    }
}


.step-link.is-disabled,
.step-link:disabled {
    opacity: .5;
    cursor: not-allowed;
    box-shadow: none;
}

.action-btn:disabled {
    opacity: .55;
    cursor: not-allowed;
    box-shadow: none;
}

.action-btn.is-loading::before {
    content: "";
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.35);
    border-top-color: #ffffff;
    animation: action-btn-spin 0.8s linear infinite;
}

@keyframes action-btn-spin {
    to {
        transform: rotate(360deg);
    }
}


.user-picker {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
}

.step-intro--compact {
    margin-bottom: 16px;
}

.duplicate-checklist {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 10px 14px;
}

.duplicate-option {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid #dbe4f2;
    border-radius: 14px;
    background: #f8fbff;
    color: #28415f;
    font-size: 14px;
    line-height: 1.4;
}

.duplicate-option input {
    margin-top: 2px;
    flex: 0 0 auto;
}

.mapping-subsection + .mapping-subsection {
    margin-top: 18px;
}

.mapping-subsection__title {
    margin: 0 0 12px;
    font-size: 15px;
    font-weight: 700;
    color: #28415f;
}

.duplicate-mode {
    display: grid;
    gap: 8px;
    margin: 0 0 14px;
    max-width: 320px;
}

.duplicate-select-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.duplicate-select-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
}

.mapping-row--pair {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) minmax(240px, 1fr) auto;
    gap: 14px;
    align-items: center;
    position: relative;
}

.mapping-row--invalid {
    border-radius: 18px;
    background: #fff1f2;
    box-shadow: 0 0 0 2px #fda4af inset, 0 0 0 4px rgba(244, 63, 94, 0.10);
    animation: static-row-pulse 0.45s ease 0s 2 alternate;
}

.lead-duplicate-add-btn {
    width: 100%;
    margin-top: 14px;
}

@media screen and (max-width: 860px) {
    .user-picker {
        grid-template-columns: 1fr;
    }

    .mapping-row--pair {
        grid-template-columns: 1fr;
    }
}
