html {
    background: #f4f7fb;
}

body.nwmd-request-app-body {
    min-width: 320px;
    margin: 0;
    background: #f4f7fb;
    color: #172033;
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Arial,
        sans-serif;
    line-height: 1.5;
}

.nwmd-request-app-body,
.nwmd-request-app-body * {
    box-sizing: border-box;
}

.nwmd-request-bar {
    display: flex;
    width: min(920px, calc(100% - 36px));
    min-height: 50px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 0 auto 34px;
    padding:
        max(20px, env(safe-area-inset-top))
        0
        0;
}

.nwmd-request-bar__brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #172033;
    font-size: 0.94rem;
    font-weight: 800;
    text-decoration: none;
}

.nwmd-request-bar__mark {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 12px;
    background: #172033;
    color: #ffffff;
    font-size: 0.72rem;
}

.nwmd-request-bar__back {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    gap: 7px;
    color: #172033;
    font-size: 0.94rem;
    font-weight: 800;
    text-decoration: none;
}

.nwmd-request-bar__back:hover,
.nwmd-request-bar__back:focus-visible {
    color: #1d4ed8;
    text-decoration: none;
}

.nwmd-request-bar__back span {
    font-size: 1.15rem;
    line-height: 1;
}

.nwmd-directory--request {
    width: min(920px, calc(100% - 36px));
    margin: 0 auto;
    padding: 0 0 48px;
}

.nwmd-directory--request .nwmd-directory__intro {
    max-width: 720px;
    margin-bottom: 30px;
}

.nwmd-directory--request .nwmd-directory__eyebrow {
    color: #2563eb;
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.09em;
}

.nwmd-directory--request .nwmd-directory__title {
    color: #172033;
    font-size: clamp(2.25rem, 8vw, 4rem);
    font-weight: 900;
    letter-spacing: -0.055em;
    line-height: 1;
}

.nwmd-directory--request .nwmd-directory__description {
    margin-top: 16px;
    color: #5f6f86;
    font-size: 1.05rem;
    line-height: 1.65;
}

.nwmd-request-layout {
    gap: 18px;
}

.nwmd-request-form,
.nwmd-request-sidebar {
    border-color: #cfe0f5;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(23, 32, 51, 0.045);
}

.nwmd-request-form {
    padding: 26px;
    background: #ffffff;
}

.nwmd-request-sidebar {
    background: #f4f7fb;
}

.nwmd-request-form__field input,
.nwmd-request-form__field select,
.nwmd-request-form__field textarea {
    border-color: #bfd0e4;
    border-radius: 13px;
}

.nwmd-request-form__field input,
.nwmd-request-form__field select {
    min-height: 52px;
}

.nwmd-request-form__submit {
    min-height: 52px;
    border-radius: 14px;
    font-weight: 800;
}

.nwmd-request-footer {
    width: min(920px, calc(100% - 36px));
    margin: 0 auto;
    padding-bottom: max(34px, env(safe-area-inset-bottom));
}

@media (max-width: 820px) {
    .nwmd-request-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .nwmd-request-bar,
    .nwmd-directory--request,
    .nwmd-request-footer {
        width: min(100% - 28px, 920px);
    }

    .nwmd-request-bar {
        min-height: 50px;
        margin-bottom: 26px;
    }

    .nwmd-directory--request {
        padding-top: 0;
    }

    .nwmd-request-form,
    .nwmd-request-sidebar {
        padding: 20px;
    }
}
