.lf-page {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 1rem 3rem;
    color: #1f2328;
}

.lf-head {
    margin: 0 0 24px;
}

.lf-sub {
    margin: 0 0 6px;
    font-size: 13px;
    line-height: 1.4;
    color: #6b7280;
}

.lf-title {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.25;
    color: #111;
}


.lf-intro {
    margin: 6px 0 0;
    max-width: 60ch;
    font-size: 15px;
    line-height: 1.5;
    color: #6b7280;
}

.lf-notice {
    margin: 0 0 20px;
    padding: 14px 16px;
    border: 1px solid currentColor;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.5;
}

.lf-notice h2 {
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    color: #1f2328;
}

.lf-notice-title {
    margin: 0 0 6px;
    font-weight: 600;
}

.lf-notice p:last-child,
.lf-notice ul:last-child {
    margin-bottom: 0;
}

.lf-notice ul {
    margin: 0;
    padding-left: 18px;
}

.lf-notice li + li {
    margin-top: 4px;
}

.lf-notice-error {
    color: #b23a48;
    background: #fdf2f3;
    border-color: rgba(178, 58, 72, .25);
}

.lf-notice-info {
    color: #2a6fb0;
    background: #eff6fc;
    border-color: rgba(42, 111, 176, .25);
}

.lf-notice-success {
    color: #00806f;
    background: #eefaf7;
    border-color: rgba(0, 128, 111, .25);
}

.lf-return {
    margin-top: 14px;
    color: #1f2328;
}

.lf-return a {
    font-weight: 600;
    color: inherit;
}

.lf-page-centered {
    padding-top: 24px;
    text-align: center;
}

.lf-page-centered .lf-notice {
    max-width: 520px;
    margin: 0 auto;
    padding: 28px 24px;
    border-radius: 12px;
}

.lf-page-centered .lf-notice h2 {
    font-size: 22px;
}

.lf-page .lf-step + .lf-step {
    margin-top: 32px;
}

.lf-page.lf-js .lf-step + .lf-step {
    margin-top: 0;
}

.lf-page .lf-step[hidden] {
    display: none;
}

.lf-page .lf-step:focus {
    outline: none;
}

@keyframes lf-step-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes lf-step-in-back {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.lf-page.lf-js .lf-step {
    animation: lf-step-in 200ms ease-out;
}

.lf-page.lf-js .lf-step.is-back {
    animation-name: lf-step-in-back;
}

@media (prefers-reduced-motion: reduce) {
    .lf-page.lf-js .lf-step {
        animation: none;
    }
}

.lf-page .lf-progress {
    display: none;
    margin: 0 0 24px;
}

.lf-page.lf-js .lf-progress {
    display: block;
}

.lf-page .lf-steps {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.lf-page .lf-step-item {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    margin: 0;
    padding: 0;
}

.lf-page .lf-step-item + .lf-step-item {
    flex: 1 1 auto;
}

.lf-page .lf-step-item + .lf-step-item::before {
    content: "";
    flex: 1 1 12px;
    min-width: 12px;
    height: 1px;
    background: #e5e5e5;
}

.lf-page .lf-step-item.is-done + .lf-step-item::before {
    background: #c9cbcd;
}

.lf-page .lf-step-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: none;
    background-color: transparent;
    box-shadow: none;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    text-align: left;
    color: #9ca3af;
    cursor: pointer;
}

.lf-page .lf-step-btn[disabled] {
    opacity: 1;
    cursor: default;
}

.lf-page .lf-step-btn:focus-visible {
    outline: 2px solid #111;
    outline-offset: 3px;
}

.lf-page .lf-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 26px;
    width: 26px;
    height: 26px;
    border: 1px solid #e5e5e5;
    border-radius: 50%;
    background: #fff;
    font-size: 12px;
    font-weight: 700;
    color: #9ca3af;
}

.lf-page .lf-step-label {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lf-page .lf-step-item.is-done .lf-step-btn {
    color: #4b5563;
}

.lf-page .lf-step-item.is-done .lf-step-num {
    border-color: #111;
    background: #fff;
    color: #111;
}

.lf-page .lf-step-item.is-current .lf-step-btn {
    color: #111;
}

.lf-page .lf-step-item.is-current .lf-step-num {
    border-color: #111;
    background: #111;
    color: #fff;
}

@media (max-width: 560px) {
    .lf-page .lf-steps,
    .lf-page .lf-step-item {
        gap: 8px;
    }

    .lf-page .lf-step-item:not(.is-current) .lf-step-label {
        display: none;
    }
}

.lf-page .lf-step-nav {
    display: none;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid #e5e5e5;
}

.lf-page.lf-js .lf-step-nav {
    display: flex;
}

.lf-page .lf-step-nav .lf-nav-back {
    margin-right: auto;
}

.lf-section + .lf-section {
    margin-top: 32px;
}

.lf-section-title {
    margin: 0 0 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e5e5e5;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #6b7280;
}

.lf-section-hint {
    margin: -6px 0 14px;
    font-size: 13px;
    line-height: 1.45;
    color: #6b7280;
}

.lf-section > *:last-child {
    margin-bottom: 0;
}

.lf-field {
    margin: 0 0 16px;
}

.lf-row {
    display: grid;
    gap: 16px;
    margin: 0 0 16px;
}

.lf-row > .lf-field {
    margin-bottom: 0;
}

@media (min-width: 640px) {
    .lf-row {
        grid-template-columns: 1fr 1fr;
    }
}

.lf-field > label {
    display: block;
    margin: 0 0 6px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    color: #1f2328;
}

.lf-field > label + .lf-hint {
    margin: -4px 0 6px;
}

.lf-field input[type="text"],
.lf-field input[type="email"],
.lf-field input[type="tel"],
.lf-field input[type="url"],
.lf-field select,
.lf-field textarea {
    display: block;
    width: 100%;
    height: 44px;
    margin: 0;
    padding: 0 12px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    background: #fff;
    box-shadow: none;
    font: inherit;
    font-size: 15px;
    line-height: 1.4;
    color: inherit;
}

.lf-field textarea {
    height: auto;
    min-height: 112px;
    padding: 10px 12px;
    resize: vertical;
}

.lf-field input::placeholder,
.lf-field textarea::placeholder {
    color: #9ca3af;
}

.lf-field input[type="text"]:hover,
.lf-field input[type="email"]:hover,
.lf-field input[type="tel"]:hover,
.lf-field input[type="url"]:hover,
.lf-field select:hover,
.lf-field textarea:hover {
    border-color: #d0d0d0;
}

.lf-field input:focus,
.lf-field select:focus,
.lf-field textarea:focus {
    outline: 2px solid var(--theme-palette-color-1, #00a18f);
    outline-offset: 1px;
    border-color: #d0d0d0;
}

.lf-field select {
    -webkit-appearance: none;
    appearance: none;
    padding-right: 36px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23555' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

.lf-field select:disabled {
    background-color: #f7f7f7;
    color: #9ca3af;
    opacity: 1;
}

.lf-req {
    color: #b23a48;
}

.lf-hint {
    margin: 6px 0 0;
    font-size: 13px;
    line-height: 1.45;
    color: #6b7280;
}

.lf-page .lf-error {
    margin: 6px 0 0;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.45;
    color: #b23a48;
}

.lf-page .lf-field [aria-invalid="true"] {
    border-color: #b23a48;
}

.lf-page .lf-field [aria-invalid="true"]:focus {
    outline-color: #b23a48;
}

.lf-upload {
    padding: 16px;
    border: 1px dashed #d4d4d4;
    border-radius: 10px;
    background: #fafafa;
    text-align: center;
}

.lf-upload input[type="file"] {
    max-width: 100%;
    font-size: 14px;
    color: #6b7280;
}

.lf-upload input[type="file"]::file-selector-button {
    height: 34px;
    margin-right: 10px;
    padding: 0 14px;
    border: 1px solid #d4d4d4;
    border-radius: 8px;
    background: #fff;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    color: #111;
    cursor: pointer;
}

.lf-upload input[type="file"]::file-selector-button:hover {
    background: #f3f4f6;
}

.lf-upload input[type="file"]:focus-visible {
    outline: 2px solid var(--theme-palette-color-1, #00a18f);
    outline-offset: 2px;
}

.lf-upload .lf-hint {
    margin: 8px 0 0;
}

.lf-page .lf-logo-preview {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
    padding: 10px 12px;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    background: #fff;
}

.lf-page .lf-logo-preview img {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    border-radius: 6px;
    background: #fafafa;
    object-fit: contain;
}

.lf-page .lf-logo-preview-name {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    font-size: 14px;
    line-height: 1.4;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: #1f2328;
}

.lf-page .lf-logo-remove {
    flex: 0 0 auto;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    background-color: transparent;
    box-shadow: none;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    color: #6b7280;
    text-decoration: underline;
    cursor: pointer;
}

.lf-page .lf-logo-remove:hover {
    color: #111;
}

.lf-page .lf-logo-remove:focus-visible {
    outline: 2px solid #111;
    outline-offset: 2px;
}

.lf-logo-current {
    margin-top: 10px;
    max-width: 180px;
    height: auto;
    padding: 8px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    background: #fff;
}

.lf-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid #e5e5e5;
}

.lf-privacy {
    margin: 0;
}

.lf-page .lf-actions-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.lf-page .lf-actions-row .lf-nav-back {
    margin-right: auto;
}

.lf-page .lf-submit,
.lf-page .lf-nav-next {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;
    min-height: 44px;
    padding: 0 22px;
    border: 0;
    border-radius: 8px;
    background: #111;
    background-color: #111;
    color: #fff;
    font: inherit;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    box-shadow: none;
    cursor: pointer;
}

.lf-page .lf-submit:hover,
.lf-page .lf-submit:focus,
.lf-page .lf-nav-next:hover,
.lf-page .lf-nav-next:focus {
    background-color: #333;
    color: #fff;
}

.lf-page .lf-submit:focus-visible,
.lf-page .lf-nav-next:focus-visible {
    outline: 2px solid #111;
    outline-offset: 2px;
}

.lf-page .lf-nav-back {
    display: none;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    background: #fff;
    background-color: #fff;
    color: #1f2328;
    font: inherit;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    box-shadow: none;
    cursor: pointer;
}

.lf-page.lf-js .lf-nav-back {
    display: inline-flex;
}

.lf-page .lf-nav-back:hover,
.lf-page .lf-nav-back:focus {
    border-color: #d0d0d0;
    background-color: #f3f4f6;
    color: #1f2328;
}

.lf-page .lf-nav-back:focus-visible {
    outline: 2px solid #111;
    outline-offset: 2px;
}

@media (min-width: 640px) {
    .lf-page .lf-submit,
    .lf-page .lf-nav-next {
        flex: 0 0 auto;
    }
}

.lf-page-centered .lf-submit {
    width: auto;
}

.lf-vh {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    white-space: nowrap;
    border: 0;
    clip-path: inset(50%);
}

.lf-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

body.lf-embed .lf-page {
    max-width: none;
    padding: 0;
}

body.lf-embed .lf-head {
    padding-right: 44px;
}

.lf-confetti {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 50;
}

.lf-claim .lf-submit {
    margin-top: 1.25rem;
}
