/* Shared spacing for every console page, including the profile-review shell. */
.healthgate-console {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 100vh;
    min-height: 100dvh;
}

.healthgate-console > .healthgate-page-content {
    flex: 1 0 auto;
    min-width: 0;
    padding-block-end: calc(clamp(2rem, 4vw, 3rem) + env(safe-area-inset-bottom, 0px));
}

.healthgate-console > .footer {
    flex-shrink: 0;
}

/* The driver navigation floats over the viewport on desktop as well as mobile. */
.healthgate-console:has(.driver-mobile-nav) > .footer {
    padding-block-end: calc(6rem + env(safe-area-inset-bottom, 0px)) !important;
}
