/* Lunas — web apply form (Figma: Loan Apps → Lunas, UI kit) */
:root {
    --p: #318cf6;
    --color-primary: var(--p);
    --color-success: var(--p);
    --accent: #318cf6;
    --accent-dark: #1569cc;
    --accent-soft: rgba(49, 140, 246, .12);
    --bg: #f8f8f8;
    --card: #ffffff;
    --card-solid: #ffffff;
    --dash: #eeeeee;
    --text: #0a1020;
    --color-text: var(--text);
    --text-muted: rgba(10, 16, 32, .6);
    --color-text-muted: var(--text-muted);
    --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Helvetica Neue", Arial, sans-serif;
    --font-heading: var(--font);
    --radius-md: 13px;
    --radius-sm: 9px;
    --shadow-soft: 0 4px 24px rgba(0, 0, 0, .1);
    --shadow-lift: 0 8px 32px rgba(0, 0, 0, .12);
    --danger: #cb2626;
    --danger-soft: rgba(203, 38, 38, .1);
    --line: #eeeeee;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
    background: var(--bg);
    font-family: var(--font);
    color: var(--text);
    font-size: 15px;
    letter-spacing: -.02em;
    -webkit-font-smoothing: antialiased;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 54px;
    padding: 10px 28px;
    border-radius: var(--radius-sm);
    border: none;
    font-family: var(--font);
    font-weight: 500;
    font-size: 16px;
    text-decoration: none;
    cursor: pointer;
    transition: background .15s ease, transform .15s ease;
}
.btn:active { transform: scale(.98); }

.lead { color: var(--text-muted); line-height: 1.35; }

/* Header */
.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .88);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}
.nav .wrap {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
    max-width: 680px;
    margin-inline: auto;
    padding: 12px 20px;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    justify-self: start;
    color: var(--text);
    font-weight: 500;
    font-size: 16px;
}
.brand .logo-img { height: 36px; width: auto; display: block; }
.nav-title {
    justify-self: center;
    text-align: center;
    font-weight: 500;
    font-size: 15px;
    color: var(--text);
}
.nc, .prog-circle { justify-self: end; }

.prog-circle {
    position: relative;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}
.prog-circle svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.prog-circle .pc-track { fill: none; stroke: var(--line); stroke-width: 3; }
.prog-circle .pc-fill {
    fill: none;
    stroke: var(--accent);
    stroke-width: 3;
    stroke-linecap: round;
    transition: stroke-dashoffset .3s ease;
}
.prog-circle .pc-text {
    position: absolute;
    font-size: .62rem;
    font-weight: 600;
    color: var(--text);
}

.wrap { width: 100%; }
.wrap.wide { max-width: 480px; margin-inline: auto; padding: 24px 20px 64px; }

.apply-flow {
    position: relative;
    min-height: calc(100vh - 62px);
    background: var(--bg);
}

.step-card { display: none; }
.step-card.active { display: block; animation: fstepIn .35s ease; }
@keyframes fstepIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: none; }
}
.step-card {
    background: var(--card);
    border: 0;
    border-radius: var(--radius-md);
    padding: 24px 20px 20px;
    box-shadow: var(--shadow-soft);
}
.step-card h2 {
    margin: 0 0 8px;
    font-size: 24px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -.02em;
    color: var(--text);
    max-width: var(--title-width, none);
}
.step-card h2 em { font-style: normal; color: var(--accent); }
.step-card .lead {
    margin: 0 0 24px;
    max-width: var(--lead-width, none);
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.35;
}

/* Underline fields (UI kit) */
.q-row { margin-bottom: 0; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.q-row:last-of-type { border-bottom: 0; }
.q-row label {
    display: block;
    font-size: 15px;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 8px;
}
.q-input {
    width: 100%;
    height: 42px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    font-family: var(--font);
    font-size: 15px;
    color: var(--text);
    transition: box-shadow .2s;
}
.q-input::placeholder { color: var(--text-muted); }
.q-input:focus { outline: none; box-shadow: inset 0 -2px 0 0 var(--accent); }

select.q-input {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 28px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 6.75' fill='none'><path d='M11.25 .75L6 6 .75 .75' stroke='%230a1020' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' opacity='.45'/></svg>");
    background-repeat: no-repeat;
    background-position: right 4px center;
    cursor: pointer;
}
select.q-input option { background: #fff; color: var(--text); }

.choices { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.q-row:has(> .choices) { border-bottom: 0; padding-bottom: 8px; }
.q-row:has(> .choices) > label { display: none; }
.choice {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
    background: var(--soft, #f0f4f6);
    cursor: pointer;
    font-family: var(--font);
    font-size: 15px;
    font-weight: 500;
    color: var(--text);
    text-align: left;
    transition: border-color .2s, background .2s;
}
.choice .dot {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    border-radius: 50%;
    border: 1.5px solid rgba(10, 16, 32, .2);
    transition: border-color .2s, background .2s;
}
.choice.on { border-color: var(--accent); background: var(--accent-soft); }
.choice.on .dot {
    border-color: var(--accent);
    background: var(--accent) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='9' viewBox='0 0 12 9' fill='none'><path d='M1.5 4.6l3 3 6-6' stroke='%23ffffff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/></svg>") no-repeat center;
}

#applyFunnel .chips { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.chip {
    padding: 14px 10px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
    background: #fff;
    font-family: var(--font);
    font-weight: 500;
    font-size: 14px;
    color: var(--text);
    cursor: pointer;
    transition: border-color .2s, background .2s, color .2s;
}
.chip.on { border-color: var(--accent); background: var(--accent); color: #fff; }

.amount-display {
    text-align: center;
    font-size: 48px;
    font-weight: 500;
    letter-spacing: -.03em;
    color: var(--text);
    margin: 8px 0 16px;
    line-height: 1;
}
.range {
    width: 100%;
    display: block;
    accent-color: var(--accent);
    height: 6px;
}
.rticks {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
}

.reqd { color: var(--danger); }
.q-hint { font-size: 13px; color: var(--text-muted); margin-top: 8px; line-height: 1.35; }
.q-error { font-size: 13px; color: var(--danger); margin-top: 8px; font-weight: 500; }
.q-row.invalid .q-input { box-shadow: inset 0 -2px 0 0 var(--danger); }
.q-row.invalid .choice { border-color: var(--danger); }

.step-info {
    margin: 8px 0 16px;
    padding: 16px;
    border-radius: var(--radius-md);
    background: var(--accent-soft);
}
.step-info h3 { margin: 0 0 6px; font-size: 15px; font-weight: 500; color: var(--text); }
.step-info p { margin: 0; font-size: 13px; line-height: 1.4; color: var(--text-muted); }

.btn-busy { opacity: .55; pointer-events: none; }

.btn-solid { background: var(--accent); color: #fff; }
.btn-solid:hover { background: var(--accent-dark); }
.btn-ghost { background: transparent; color: var(--accent); border: 1px solid var(--accent); }
.btn-block { width: 100%; }
.btn-lg { height: 54px; font-size: 16px; }

.flow-foot { margin-top: 20px; }
.step-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
}
.step-controls .btn { flex: 1; }
.submit-btn {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: auto;
    padding: 8px 4px;
    border: 0;
    border-radius: 0;
    background: none;
    font-family: var(--font);
    font-size: 15px;
    font-weight: 500;
    color: var(--text-muted);
    cursor: pointer;
}
.submit-btn svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 1.5; fill: none; }
.submit-btn:hover { color: var(--text); }

.consent-block { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.consent-toggle { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; margin-bottom: 12px; }
.consent-toggle input[type="checkbox"] { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.consent-tick {
    position: relative;
    width: 28px;
    height: 28px;
    flex: none;
    border-radius: 6px;
    border: 1.5px solid rgba(10, 16, 32, .2);
    background: #fff;
    transition: background .2s, border-color .2s;
}
.consent-tick::after {
    content: "";
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") no-repeat center;
    opacity: 0;
    transform: scale(.5);
    transition: opacity .15s, transform .15s;
}
.consent-toggle input:checked ~ .consent-tick { background: var(--accent); border-color: var(--accent); }
.consent-toggle input:checked ~ .consent-tick::after { opacity: 1; transform: scale(1); }
.consent-block p { margin: 0; font-size: 13px; line-height: 1.5; color: var(--text-muted); white-space: pre-line; }

.step-note { font-size: 13px; color: var(--text-muted); text-align: center; line-height: 1.45; }

.terms-block { margin-top: 20px; margin-bottom: 16px; }
.terms-block h3 {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--accent);
    margin: 0 0 8px;
}
.terms-block p { margin: 0; font-size: 13px; line-height: 1.5; color: var(--text-muted); }

.disclosure { margin-top: 16px; margin-bottom: 16px; }
.disclosure summary {
    list-style: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--accent);
}
.disclosure summary::-webkit-details-marker { display: none; }
.disclosure .disclosure-small { margin: 8px 0 0; font-size: 13px; line-height: 1.5; color: var(--text-muted); }

.email-hints {
    position: absolute;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lift);
    z-index: 100;
    max-height: 220px;
    overflow-y: auto;
    padding: 4px;
}
.email-hint {
    display: block;
    width: 100%;
    padding: 9px 12px;
    border: 0;
    background: none;
    border-radius: 6px;
    text-align: left;
    font-family: inherit;
    font-size: 14px;
    color: var(--text);
    cursor: pointer;
}
.email-hint:hover { background: var(--accent-soft); }

.offer {
    position: relative;
    overflow: hidden;
    background: var(--card);
    border-radius: var(--radius-md);
    padding: 24px 20px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-soft);
}
.offer h2 { margin: 0 0 4px; font-size: 22px; color: var(--text); }
.offer .lead { color: var(--text-muted); }

#waitScreen[hidden] { display: none; }
#waitScreen { text-align: center; padding: 48px 20px; }
#waitScreen .wait-spin {
    width: 38px;
    height: 38px;
    margin: 0 auto 20px;
    border-radius: 50%;
    border: 3px solid var(--line);
    border-top-color: var(--accent);
    animation: wsp-spin .8s linear infinite;
}
@keyframes wsp-spin { to { transform: rotate(360deg); } }
#waitScreen .wait-title { font-size: 16px; font-weight: 500; color: var(--text); margin-bottom: 6px; }
#waitScreen .wait-sub { font-size: 14px; color: var(--text-muted); }

.to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 90;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 0;
    background: var(--accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lift);
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity .2s, transform .2s;
}
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.to-top svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 2; fill: none; }

@media (max-width: 480px) {
    .step-card { padding: 20px 16px 16px; }
}

/* Form screens — Figma Loan Apps 72 / 73 / 74 (402pt iPhone) */
#applyFunnel {
    min-height: 100dvh;
    display: flex;
    justify-content: center;
    background: var(--bg);
}
#applyFunnel .apply-column {
    width: 100%;
    max-width: 402px;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}
#applyFunnel #loanForm {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
}
#applyFunnel .step-card {
    display: none;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
}
#applyFunnel .step-card.active {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 100dvh;
    animation: fstepIn .35s ease;
}
#applyFunnel .form-head {
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 14px 20px 20px;
    padding-top: calc(env(safe-area-inset-top, 0px) + 14px);
}
#applyFunnel .form-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}
#applyFunnel .form-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    color: var(--text);
    font-family: inherit;
    font-size: 17px;
    font-weight: 510;
    line-height: 1;
    letter-spacing: -0.02em;
    cursor: pointer;
}
#applyFunnel .form-back-icon {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
}
#applyFunnel .form-back-icon img {
    display: block;
    transform: rotate(90deg);
}
#applyFunnel .form-progress {
    width: 95px;
    height: 13px;
    border-radius: 999px;
    background: rgba(10, 16, 32, 0.05);
    overflow: hidden;
    flex: none;
}
#applyFunnel .form-progress-fill {
    display: block;
    height: 13px;
    width: 36px;
    border-radius: 999px;
    background: var(--accent);
}
#applyFunnel .form-head h2 {
    margin: 0 0 10px;
    max-width: none;
    font-size: 24px;
    font-weight: 510;
    line-height: 1;
    letter-spacing: -0.02em;
}
#applyFunnel .form-head .lead {
    margin: 0;
    max-width: 265px;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: -0.02em;
    color: var(--text);
    opacity: 0.6;
}
#applyFunnel .form-fields {
    flex: 1 0 auto;
    padding: 20px 20px 0;
}
#applyFunnel .q-row {
    margin: 0 0 18px;
    padding: 0 0 18px;
    border-bottom: 1px solid var(--line);
}
#applyFunnel .q-row:last-child { margin-bottom: 0; }
#applyFunnel .q-row label {
    margin: 0 0 6px;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: -0.02em;
    color: var(--text);
}
#applyFunnel .reqd { display: none; }
#applyFunnel .q-input {
    height: auto;
    min-height: 20px;
    padding: 0;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: -0.02em;
    box-shadow: none;
}
#applyFunnel .q-input::placeholder {
    color: rgba(10, 16, 32, 0.4);
    opacity: 1;
}
#applyFunnel .q-input:focus { box-shadow: none; }
#applyFunnel .q-row.invalid { border-bottom-color: var(--danger); }
#applyFunnel .q-row.invalid .q-input { box-shadow: none; }
#applyFunnel .q-error {
    margin: 6px 0 0;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.3;
}
#applyFunnel .q-select {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    max-width: 100%;
    color: rgba(10, 16, 32, 0.4);
}
#applyFunnel .q-select.is-filled { color: var(--text); }
#applyFunnel .q-row.invalid .q-select:not(.is-filled) { color: var(--danger); }
#applyFunnel .q-select-value {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: -0.02em;
    color: inherit;
}
#applyFunnel .q-select-chevron { display: block; flex: none; }
#applyFunnel .q-select .q-input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: pointer;
    background-image: none;
    font-size: 16px;
}
#applyFunnel .form-foot {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: auto;
    padding: 20px 20px calc(env(safe-area-inset-bottom, 0px) + var(--app-content-bottom-inset, 0px) + 8px);
}
#applyFunnel .form-foot .btn {
    width: 100%;
    height: 54px;
    padding: 10px 20px;
    border-radius: 9px;
    background: var(--accent);
    font-size: 16px;
    font-weight: 510;
    line-height: 1;
    letter-spacing: -0.02em;
}
#applyFunnel .form-foot .btn.btn-busy {
    opacity: 1;
    pointer-events: auto;
}
#applyFunnel .form-foot .btn:disabled {
    opacity: 0.5;
    pointer-events: none;
}
#applyFunnel .form-foot .step-note {
    width: min(342px, 100%);
    margin: 0;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0;
    text-align: center;
    color: var(--text);
    opacity: 0.6;
}
@media (max-width: 480px) {
    #applyFunnel .apply-column { max-width: none; }
    #applyFunnel .step-card { padding: 0; }
}

/* Desktop website. Hidden on phones and inside the iOS app, which keep the column above. */
.site-header,
.site-footer { display: none; }

@media (min-width: 900px) {
    html:not(.in-app) .site-header {
        display: block;
        position: sticky;
        top: 0;
        z-index: 200;
        background: rgba(255, 255, 255, .88);
        -webkit-backdrop-filter: blur(12px);
        backdrop-filter: blur(12px);
        border-bottom: 1px solid var(--line);
    }
    html:not(.in-app) .site-header__in {
        max-width: 1160px;
        margin: 0 auto;
        padding: 0 20px;
        height: 68px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 24px;
    }
    html:not(.in-app) .site-logo {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        text-decoration: none;
        color: var(--text);
        font-size: 22px;
        font-weight: 600;
        letter-spacing: -.03em;
        line-height: 1;
    }
    html:not(.in-app) .site-logo img {
        width: 34px;
        height: 34px;
        display: block;
    }
    html:not(.in-app) .site-nav {
        display: flex;
        align-items: center;
        gap: 28px;
    }
    html:not(.in-app) .site-nav a {
        text-decoration: none;
        font-size: 15px;
        color: var(--text-muted);
    }
    html:not(.in-app) .site-nav a:hover { color: var(--text); }
    html:not(.in-app) .site-header__app {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        height: 42px;
        padding: 0 18px;
        border-radius: var(--radius-sm);
        background: var(--accent);
        color: #fff;
        text-decoration: none;
        font-size: 15px;
        font-weight: 500;
    }
    html:not(.in-app) .site-header__app:hover { background: var(--accent-dark); }
    html:not(.in-app) body[data-app-page="apply"],
    html:not(.in-app) body[data-app-page="offers"] {
        min-height: 100vh;
        display: flex;
        flex-direction: column;
    }
    html:not(.in-app) body[data-app-page="offers"] .apply-flow { flex: 1; }
    html:not(.in-app) .site-footer {
        display: block;
        margin-top: auto;
        background: #fff;
        border-top: 1px solid var(--line);
    }
    html:not(.in-app) .site-footer__in {
        max-width: 1160px;
        margin: 0 auto;
        padding: 22px 20px;
        display: flex;
        justify-content: space-between;
        gap: 16px;
        flex-wrap: wrap;
        font-size: 13px;
        color: var(--text-muted);
    }
    html:not(.in-app) .site-footer a { color: inherit; text-decoration: none; }
    html:not(.in-app) .site-footer a:hover { color: var(--text); }

    html:not(.in-app) #applyFunnel {
        flex: 1;
        min-height: 0;
        display: block;
        background: transparent;
        padding: 40px 24px 72px;
    }
    html:not(.in-app) #applyFunnel .apply-column,
    html:not(.in-app) #applyFunnel #loanForm,
    html:not(.in-app) #applyFunnel .step-card.active {
        min-height: 0;
    }
    html:not(.in-app) #applyFunnel .apply-column {
        max-width: 840px;
        margin: 0 auto;
        background: #fff;
        border-radius: var(--radius-md);
        box-shadow: var(--shadow-soft);
    }
    html:not(.in-app) #applyFunnel .form-head {
        background: transparent;
        border-bottom: 0;
        padding: 32px 40px 0;
    }
    html:not(.in-app) #applyFunnel .form-top-row { margin-bottom: 28px; }
    html:not(.in-app) #applyFunnel .form-progress {
        width: 200px;
        height: 8px;
    }
    html:not(.in-app) #applyFunnel .form-progress-fill { height: 8px; }
    html:not(.in-app) #applyFunnel .form-head h2 { font-size: 32px; }
    html:not(.in-app) #applyFunnel .form-head .lead {
        max-width: 560px;
        font-size: 16px;
    }
    html:not(.in-app) #applyFunnel .form-fields {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 40px;
        align-content: start;
        padding: 28px 40px 8px;
    }
    html:not(.in-app) #applyFunnel .form-fields > .amount-display,
    html:not(.in-app) #applyFunnel .form-fields > .range,
    html:not(.in-app) #applyFunnel .form-fields > .rticks,
    html:not(.in-app) #applyFunnel .form-fields > .q-error,
    html:not(.in-app) #applyFunnel .form-fields > .step-info,
    html:not(.in-app) #applyFunnel .form-fields > .q-row:has(.choices) {
        grid-column: 1 / -1;
    }
    html:not(.in-app) #applyFunnel .q-select {
        display: flex;
        width: 100%;
        justify-content: space-between;
    }
    html:not(.in-app) #applyFunnel .form-foot {
        align-items: flex-start;
        margin-top: 8px;
        padding: 12px 40px 36px;
    }
    html:not(.in-app) #applyFunnel .form-foot .btn {
        width: auto;
        min-width: 240px;
    }
    html:not(.in-app) #applyFunnel .form-foot .step-note {
        width: auto;
        max-width: 560px;
        text-align: left;
    }
    html:not(.in-app) #applyFunnel .amount-display {
        text-align: left;
        font-size: 64px;
        margin: 4px 0 24px;
    }
    html:not(.in-app) #applyFunnel .range {
        -webkit-appearance: none;
        appearance: none;
        height: 32px;
        margin: 0;
        background: transparent !important;
        accent-color: auto;
        cursor: pointer;
    }
    html:not(.in-app) #applyFunnel .range::-webkit-slider-runnable-track {
        height: 17px;
        border-radius: 999px;
        background: linear-gradient(90deg, #cb2626 0 var(--p, 50%), rgba(10, 16, 32, .05) var(--p, 50%) 100%);
    }
    html:not(.in-app) #applyFunnel .range::-webkit-slider-thumb {
        -webkit-appearance: none;
        appearance: none;
        width: 63px;
        height: 32px;
        margin-top: -7.5px;
        border: 0;
        border-radius: 999px;
        background: #fff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='16' viewBox='0 0 12 16'><rect x='0' y='4' width='2' height='8' rx='1' fill='%230A1020'/><rect x='5' y='0' width='2' height='16' rx='1' fill='%230A1020'/><rect x='10' y='4' width='2' height='8' rx='1' fill='%230A1020'/></svg>") center / 12px 16px no-repeat;
        box-shadow: 0 0 10px rgba(0, 0, 0, .12);
    }
    html:not(.in-app) #applyFunnel .range::-moz-range-track {
        height: 17px;
        border-radius: 999px;
        background: rgba(10, 16, 32, .05);
    }
    html:not(.in-app) #applyFunnel .range::-moz-range-progress {
        height: 17px;
        border-radius: 999px;
        background: #cb2626;
    }
    html:not(.in-app) #applyFunnel .range::-moz-range-thumb {
        width: 63px;
        height: 32px;
        border: 0;
        border-radius: 999px;
        background: #fff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='16' viewBox='0 0 12 16'><rect x='0' y='4' width='2' height='8' rx='1' fill='%230A1020'/><rect x='5' y='0' width='2' height='16' rx='1' fill='%230A1020'/><rect x='10' y='4' width='2' height='8' rx='1' fill='%230A1020'/></svg>") center / 12px 16px no-repeat;
        box-shadow: 0 0 10px rgba(0, 0, 0, .12);
    }
}

html.in-app .site-header,
html.in-app .site-footer { display: none !important; }
