.lb-page {
    background: #f5f6f8;
    padding: 54px 0 70px;
    color: #111827;
}

.lb-wrap {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.lb-hero {
    max-width: 820px;
    margin: 0 auto 34px;
    text-align: center;
}

.lb-hero-label,
.lb-step-kicker {
    display: inline-block;
    font-size: 12px;
    line-height: 1.3;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-weight: 700;
    color: #f96902;
    margin-bottom: 12px;
}

.lb-hero h1 {
    margin: 0 0 16px;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.04;
    font-weight: 700;
    color: #111827;
}

.lb-hero p {
    margin: 0 auto;
    max-width: 760px;
    color: #6b7280;
    font-size: 17px;
    line-height: 1.65;
}

.lb-shell {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 24px;
    align-items: start;
}

.lb-aside {
    position: sticky;
    top: 24px;
}

.lb-progress,
.lb-note,
.lb-form,
.lb-view {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 26px;
    box-shadow: 0 18px 44px rgba(17, 24, 39, .06);
}

.lb-progress {
    padding: 24px;
    margin-bottom: 16px;
}

.lb-progress-top {
    display: flex;
    align-items: baseline;
    gap: 4px;
    color: #111827;
    font-weight: 700;
    font-size: 38px;
    line-height: 1;
}

.lb-progress-top em {
    font-style: normal;
    font-size: 16px;
    color: #9ca3af;
}

.lb-progress-bar {
    height: 8px;
    border-radius: 20px;
    background: #eef0f3;
    overflow: hidden;
    margin: 18px 0 14px;
}

.lb-progress-bar i {
    display: block;
    height: 100%;
    width: 8.333%;
    border-radius: inherit;
    background: #f96902;
    transition: width .25s ease;
}

.lb-progress p {
    margin: 0;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.5;
}

.lb-note {
    padding: 20px;
}

.lb-note strong {
    display: block;
    margin-bottom: 8px;
    font-size: 15px;
    color: #111827;
}

.lb-note span {
    display: block;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.6;
}

.lb-form {
    padding: 34px;
}

.lb-step {
    display: none;
    animation: lbFade .24s ease;
}

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

.lb-step-head {
    max-width: 760px;
    margin-bottom: 28px;
}

.lb-step-head h2 {
    margin: 0 0 10px;
    color: #111827;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.12;
    font-weight: 700;
}

.lb-step-head p {
    margin: 0;
    color: #6b7280;
    font-size: 15px;
    line-height: 1.65;
}

.lb-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

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

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

.lb-field span,
.lb-group-title {
    font-size: 14px;
    line-height: 1.35;
    color: #374151;
    font-weight: 600;
}

.lb-field span b {
    color: #f96902;
}

.lb-field input,
.lb-field textarea {
    width: 100%;
    border: 1px solid #d9dde5;
    background: #fff;
    border-radius: 16px;
    padding: 15px 16px;
    min-height: 52px;
    color: #111827;
    font-size: 15px;
    line-height: 1.4;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.lb-field textarea {
    min-height: 118px;
    resize: vertical;
}

.lb-field input:focus,
.lb-field textarea:focus {
    border-color: #f96902;
    box-shadow: 0 0 0 4px rgba(249, 105, 2, .12);
}

.lb-check-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 10px;
}

.lb-check {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    min-height: 48px;
    padding: 13px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    background: #fafafa;
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease;
}

.lb-check:hover {
    border-color: #f96902;
    background: #fff;
}

.lb-check input {
    margin-top: 3px;
    accent-color: #f96902;
}

.lb-check span {
    color: #374151;
    font-size: 14px;
    line-height: 1.45;
}

.lb-nav {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 30px;
    padding-top: 24px;
    border-top: 1px solid #edf0f3;
}

.lb-btn {
    border: 0;
    border-radius: 15px;
    min-height: 52px;
    padding: 0 24px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: transform .2s ease, opacity .2s ease, background .2s ease;
}

.lb-btn:hover {
    transform: translateY(-1px);
}

.lb-btn:disabled {
    opacity: .55;
    cursor: not-allowed;
    transform: none;
}

.lb-btn-primary {
    background: #f96902;
    color: #fff;
}

.lb-btn-secondary {
    background: #f3f4f6;
    color: #111827;
}

.lb-status {
    margin-top: 16px;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.6;
}

.lb-status.is-error {
    color: #b42318;
}

.lb-success {
    text-align: center;
    max-width: 620px;
    margin: 0 auto;
    padding: 50px 20px;
}

.lb-success h2 {
    margin: 0 0 14px;
    font-size: 38px;
    line-height: 1.15;
    color: #111827;
}

.lb-success p {
    margin: 0 0 22px;
    color: #6b7280;
    font-size: 16px;
    line-height: 1.65;
}

.lb-success a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 22px;
    background: #111827;
    color: #fff;
    border-radius: 15px;
    text-decoration: none;
    font-weight: 700;
}

.lb-view {
    padding: 34px;
}

.lb-view-top {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-start;
    padding-bottom: 24px;
    border-bottom: 1px solid #edf0f3;
    margin-bottom: 26px;
}

.lb-view h1 {
    margin: 0 0 8px;
    font-size: clamp(32px, 5vw, 52px);
    line-height: 1.05;
}

.lb-view-top p {
    margin: 0;
    color: #6b7280;
    font-size: 14px;
}

.lb-status-pill {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 14px;
    background: #f3f4f6;
    color: #374151;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.lb-view-section {
    padding: 24px 0;
    border-bottom: 1px solid #edf0f3;
}

.lb-view-section:last-child {
    border-bottom: 0;
}

.lb-view-section h2 {
    margin: 0 0 18px;
    font-size: 24px;
    line-height: 1.25;
    color: #111827;
}

.lb-view-row {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 20px;
    padding: 12px 0;
}

.lb-view-row span {
    color: #8b929d;
    font-size: 14px;
    line-height: 1.5;
}

.lb-view-row strong {
    color: #111827;
    font-size: 15px;
    line-height: 1.6;
    font-weight: 600;
}

@keyframes lbFade {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 960px) {
    .lb-shell {
        grid-template-columns: 1fr;
    }

    .lb-aside {
        position: static;
    }

    .lb-fields,
    .lb-check-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575px) {
    .lb-page {
        padding: 34px 0 48px;
    }

    .lb-wrap {
        width: min(100% - 20px, 1180px);
    }

    .lb-form,
    .lb-view {
        padding: 22px;
        border-radius: 22px;
    }

    .lb-nav {
        flex-direction: column-reverse;
    }

    .lb-btn {
        width: 100%;
    }

    .lb-view-top {
        flex-direction: column;
    }

    .lb-view-row {
        grid-template-columns: 1fr;
        gap: 4px;
    }
}

.lb-label-text {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.lb-optional {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 0 8px;
    border-radius: 20px;
    background: #f3f4f6;
    color: #9ca3af;
    font-size: 12px;
    line-height: 1;
    font-style: normal;
    font-weight: 600;
}

.lb-field-select {
    position: relative;
}

.lb-field select {
    width: 100%;
    min-height: 52px;
    border: 1px solid #d9dde5;
    background-color: #fff;
    color: #111827;
    border-radius: 16px;
    padding: 0 44px 0 16px;
    font-size: 15px;
    line-height: 1.4;
    outline: none;
    appearance: none;
    cursor: pointer;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.lb-field-select::after {
    content: "";
    position: absolute;
    right: 18px;
    bottom: 20px;
    width: 9px;
    height: 9px;
    border-right: 2px solid #9ca3af;
    border-bottom: 2px solid #9ca3af;
    transform: rotate(45deg);
    pointer-events: none;
}

.lb-field select:focus {
    border-color: #f96902;
    box-shadow: 0 0 0 4px rgba(249, 105, 2, .12);
}
