body.fa-profile-shell.fa-shell-runtime {
    --fa-profile-topbar-h: 64px;
    --fa-profile-content-max: 980px;
    background: #f2f2f2;
}

body.fa-profile-shell.fa-shell-runtime,
body.fa-profile-shell.fa-shell-runtime .fa-profile-settings-shell,
body.fa-profile-shell.fa-shell-runtime .fa-profile-settings-frame,
body.fa-profile-shell.fa-shell-runtime .fa-profile-content,
body.fa-profile-shell.fa-shell-runtime .fa-profile-form,
body.fa-profile-shell.fa-shell-runtime .fa-profile-form .form-control,
body.fa-profile-shell.fa-shell-runtime .fa-profile-form .form-check-label,
body.fa-profile-shell.fa-shell-runtime .fa-profile-form .btn {
    font-family: "Public Sans", "Segoe UI", sans-serif;
}

body.fa-profile-shell.fa-shell-runtime .fa-profile-page {
    height: 100vh;
    min-height: 100vh;
    max-height: 100vh;
    padding: 12px !important;
    background: #f2f2f2;
}

body.fa-profile-shell.fa-shell-runtime .fa-profile-page > .row,
body.fa-profile-shell.fa-shell-runtime .fa-profile-page > .row > .col-12,
body.fa-profile-shell.fa-shell-runtime .fa-profile-settings-shell {
    height: 100%;
    min-height: 0;
    max-height: none;
}

body.fa-profile-shell.fa-shell-runtime .fa-profile-settings-shell {
    background: transparent;
}

body.fa-profile-shell.fa-shell-runtime .fa-profile-settings-frame {
    position: relative;
    height: 100%;
    min-height: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.74);
    border-radius: 28px;
    background: #fafafa;
    box-shadow: 0 20px 44px rgba(24, 49, 60, 0.12);
}

body.fa-profile-shell.fa-shell-runtime .fa-profile-topbar {
    height: var(--fa-profile-topbar-h);
    padding: 0 28px;
    justify-content: flex-start;
    background: #ffffff;
    border-bottom: 1px solid #e0e4e8;
}

body.fa-profile-shell.fa-shell-runtime .fa-profile-titlebar-title {
    overflow: hidden;
    color: #071525;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.fa-profile-shell.fa-shell-runtime .fa-profile-back-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    margin-bottom: 28px;
    min-width: 0;
    color: #596879;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
}

body.fa-profile-shell.fa-shell-runtime .fa-profile-back-link:hover,
body.fa-profile-shell.fa-shell-runtime .fa-profile-back-link:focus-visible {
    color: #0d6b8a;
    text-decoration: none;
}

body.fa-profile-shell.fa-shell-runtime .fa-profile-back-link i {
    flex: 0 0 auto;
    color: currentColor;
    font-size: 20px;
    line-height: 1;
}

body.fa-profile-shell.fa-shell-runtime .fa-profile-content {
    position: absolute;
    top: var(--fa-profile-topbar-h);
    right: 0;
    bottom: 0;
    left: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 42px 28px 64px;
    background: #fafafa;
}

body.fa-profile-shell.fa-shell-runtime .fa-profile-content-inner {
    width: min(100%, var(--fa-profile-content-max));
    margin: 0 auto;
}

body.fa-profile-shell.fa-shell-runtime .fa-profile-heading {
    margin-bottom: 24px;
}

body.fa-profile-shell.fa-shell-runtime .fa-profile-heading h1 {
    margin: 0;
    color: #111827;
    font-family: "Libre Baskerville", Georgia, serif;
    font-size: clamp(36px, 3.6vw, 48px);
    font-weight: 400;
    line-height: 1.18;
}

body.fa-profile-shell.fa-shell-runtime .fa-profile-heading p {
    max-width: 560px;
    margin: 12px 0 0;
    color: #596879;
    font-size: 16px;
    line-height: 1.5;
}

body.fa-profile-shell.fa-shell-runtime .fa-profile-alert {
    width: min(100%, 680px);
    margin-bottom: 28px;
    padding: 16px 18px;
    border: 1px solid transparent;
    border-radius: 6px;
    font-size: 15px;
    line-height: 1.45;
}

body.fa-profile-shell.fa-shell-runtime .fa-profile-alert-info {
    border-color: #8bc7e5;
    background: #e6f4fa;
    color: #0f2533;
}

body.fa-profile-shell.fa-shell-runtime .fa-profile-alert-success {
    border-color: #a7d8bc;
    background: #eefaf2;
    color: #113d24;
}

body.fa-profile-shell.fa-shell-runtime .fa-profile-form {
    display: grid;
    gap: 34px;
}

body.fa-profile-shell.fa-shell-runtime .fa-profile-section {
    display: grid;
    gap: 18px;
}

body.fa-profile-shell.fa-shell-runtime .fa-profile-section h2 {
    margin: 0;
    color: #111827;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.25;
}

body.fa-profile-shell.fa-shell-runtime .fa-profile-prefill-options {
    display: grid;
    gap: 14px;
    max-width: 620px;
}

body.fa-profile-shell.fa-shell-runtime .fa-profile-check {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    min-height: 24px;
    margin: 0;
    padding: 0;
}

body.fa-profile-shell.fa-shell-runtime .fa-profile-check .form-check-input {
    float: none;
    width: 16px;
    height: 16px;
    margin: 3px 0 0;
    border-color: #7f91a4;
    border-radius: 3px;
}

body.fa-profile-shell.fa-shell-runtime .fa-profile-check .form-check-input:checked {
    border-color: #0d6b8a;
    background-color: #0d6b8a;
}

body.fa-profile-shell.fa-shell-runtime .fa-profile-check .form-check-label {
    color: #071525;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.45;
}

body.fa-profile-shell.fa-shell-runtime .fa-profile-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 22px;
}

body.fa-profile-shell.fa-shell-runtime .fa-profile-field {
    display: grid;
    gap: 8px;
    align-content: start;
    min-width: 0;
}

body.fa-profile-shell.fa-shell-runtime .fa-profile-field .form-label {
    margin: 0;
    color: #0f172a;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
}

body.fa-profile-shell.fa-shell-runtime .fa-profile-field .form-control {
    min-height: 44px;
    padding: 9px 14px;
    border: 1px solid #d6dde4;
    border-radius: 4px;
    background: #ffffff;
    color: #0f172a;
    font-size: 16px;
    line-height: 1.45;
    box-shadow: none;
}

body.fa-profile-shell.fa-shell-runtime .fa-profile-field textarea.form-control {
    min-height: 98px;
    resize: vertical;
}

body.fa-profile-shell.fa-shell-runtime .fa-profile-field .form-control:focus {
    border-color: #0d6b8a;
    box-shadow: 0 0 0 3px rgba(13, 107, 138, 0.16);
}

body.fa-profile-shell.fa-shell-runtime .fa-profile-field .form-control:disabled {
    background: #eef3f6;
    color: #465767;
}

body.fa-profile-shell.fa-shell-runtime .fa-profile-lock-message {
    color: #66717b;
    font-size: 13px;
    line-height: 1.35;
}

body.fa-profile-shell.fa-shell-runtime .fa-profile-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding-top: 4px;
}

body.fa-profile-shell.fa-shell-runtime .fa-profile-actions .btn {
    min-height: 42px;
    padding: 8px 18px;
    border-radius: 6px;
    font-weight: 700;
}

body.fa-profile-shell.fa-shell-runtime .fa-profile-actions .btn-primary {
    border-color: #0d6b8a;
    background: #0d6b8a;
}

body.fa-profile-shell.fa-shell-runtime .fa-profile-actions .btn-primary:hover,
body.fa-profile-shell.fa-shell-runtime .fa-profile-actions .btn-primary:focus-visible {
    border-color: #0a536b;
    background: #0a536b;
}

@media (max-width: 767.98px) {
    body.fa-profile-shell.fa-shell-runtime {
        --fa-profile-topbar-h: 64px;
        --fa-profile-content-max: 100%;
    }

    body.fa-profile-shell.fa-shell-runtime .fa-profile-page {
        padding: 0 !important;
    }

    body.fa-profile-shell.fa-shell-runtime .fa-profile-settings-frame {
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    body.fa-profile-shell.fa-shell-runtime .fa-profile-topbar {
        padding: 0 24px;
    }

    body.fa-profile-shell.fa-shell-runtime .fa-profile-titlebar-title {
        font-size: 15px;
    }

    body.fa-profile-shell.fa-shell-runtime .fa-profile-back-link {
        font-size: 16px;
        margin-bottom: 26px;
    }

    body.fa-profile-shell.fa-shell-runtime .fa-profile-content {
        padding: 24px 24px 40px;
    }

    body.fa-profile-shell.fa-shell-runtime .fa-profile-heading {
        margin-bottom: 24px;
    }

    body.fa-profile-shell.fa-shell-runtime .fa-profile-heading h1 {
        font-size: 34px;
        line-height: 1.22;
    }

    body.fa-profile-shell.fa-shell-runtime .fa-profile-heading p {
        margin-top: 8px;
        font-size: 16px;
        line-height: 1.5;
    }

    body.fa-profile-shell.fa-shell-runtime .fa-profile-alert {
        margin-bottom: 26px;
        padding: 16px;
        font-size: 14px;
    }

    body.fa-profile-shell.fa-shell-runtime .fa-profile-form {
        gap: 30px;
    }

    body.fa-profile-shell.fa-shell-runtime .fa-profile-section {
        gap: 18px;
    }

    body.fa-profile-shell.fa-shell-runtime .fa-profile-section h2 {
        font-size: 22px;
    }

    body.fa-profile-shell.fa-shell-runtime .fa-profile-prefill-options {
        gap: 14px;
    }

    body.fa-profile-shell.fa-shell-runtime .fa-profile-fields {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    body.fa-profile-shell.fa-shell-runtime .fa-profile-actions {
        position: sticky;
        bottom: 0;
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
        margin-right: -24px;
        margin-left: -24px;
        padding: 12px 24px 14px;
        border-top: 1px solid #e0e4e8;
        background: rgba(250, 250, 250, 0.96);
    }

    body.fa-profile-shell.fa-shell-runtime .fa-profile-actions .btn {
        width: 100%;
        min-width: 0;
        padding-right: 12px;
        padding-left: 12px;
        white-space: normal;
    }
}

/* Runtime profile/sign-in overlays. These are loaded by the assistant shell and
   intentionally reuse the profile form class names so the full-page fallback and
   overlay stay visually aligned. */
body.fa-shell-runtime[data-fa-overlay-mode="profile"] .fa-runtime-overlay,
body.fa-shell-runtime[data-fa-overlay-mode="signin"] .fa-runtime-overlay {
    opacity: 1;
    pointer-events: auto;
    background: rgba(15, 23, 42, 0.28);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

body.fa-shell-runtime .fa-runtime-overlay-panel {
    position: absolute;
    z-index: 110;
    display: flex;
    flex-direction: column;
    min-height: 0;
    border: 1px solid rgba(24, 49, 60, 0.12);
    background: rgba(255, 255, 255, 0.985);
    box-shadow: 0 28px 64px rgba(24, 49, 60, 0.18);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

body.fa-shell-runtime .fa-runtime-profile-overlay-panel {
    inset: 0 0 0 auto;
    width: min(980px, calc(100% - 56px));
    border-top: 0;
    border-right: 0;
    border-bottom: 0;
}

body.fa-shell-runtime .fa-runtime-signin-overlay-panel {
    top: 50%;
    left: 50%;
    width: min(520px, calc(100% - 48px));
    max-height: min(760px, calc(100% - 48px));
    border-radius: 12px;
    transform: translate(-50%, -50%);
    overflow: hidden;
}

body.fa-shell-runtime .fa-runtime-overlay-panel-header {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 64px;
    padding: 0 24px;
    border-bottom: 1px solid #e0e4e8;
    background: #ffffff;
}

body.fa-shell-runtime .fa-runtime-overlay-panel-title {
    margin: 0;
    color: #071525;
    font-family: "Public Sans", "Segoe UI", sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
}

body.fa-shell-runtime .fa-runtime-overlay-panel-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 34px 28px 40px;
    background: #fafafa;
}

body.fa-shell-runtime .fa-overlay-loading {
    display: grid;
    min-height: 160px;
    place-items: center;
    color: #596879;
    font-size: 15px;
    font-weight: 600;
}

body.fa-shell-runtime .fa-runtime-profile-overlay-panel .fa-profile-content-inner {
    width: min(100%, 880px);
    margin: 0 auto;
}

body.fa-shell-runtime .fa-runtime-profile-overlay-panel .fa-profile-heading,
body.fa-auth-shell .fa-auth-heading,
body.fa-shell-runtime .fa-runtime-signin-overlay-panel .fa-auth-heading {
    margin-bottom: 24px;
}

body.fa-shell-runtime .fa-runtime-profile-overlay-panel .fa-profile-heading h1,
body.fa-auth-shell .fa-auth-heading h1,
body.fa-shell-runtime .fa-runtime-signin-overlay-panel .fa-auth-heading h1 {
    margin: 0;
    color: #111827;
    font-family: "Libre Baskerville", Georgia, serif;
    font-size: clamp(32px, 3vw, 44px);
    font-weight: 400;
    line-height: 1.18;
}

body.fa-shell-runtime .fa-runtime-profile-overlay-panel .fa-profile-heading p,
body.fa-auth-shell .fa-auth-heading p,
body.fa-shell-runtime .fa-runtime-signin-overlay-panel .fa-auth-heading p {
    max-width: 560px;
    margin: 10px 0 0;
    color: #596879;
    font-size: 16px;
    line-height: 1.5;
}

body.fa-shell-runtime .fa-runtime-profile-overlay-panel .fa-profile-form,
body.fa-shell-runtime .fa-runtime-profile-overlay-panel .fa-profile-section,
body.fa-shell-runtime .fa-runtime-signin-overlay-panel .fa-auth-panel-content,
body.fa-auth-shell .fa-auth-panel-content {
    display: grid;
}

body.fa-shell-runtime .fa-runtime-profile-overlay-panel .fa-profile-form {
    gap: 30px;
}

body.fa-shell-runtime .fa-runtime-profile-overlay-panel .fa-profile-section {
    gap: 18px;
}

body.fa-shell-runtime .fa-runtime-profile-overlay-panel .fa-profile-section h2 {
    margin: 0;
    color: #111827;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.25;
}

body.fa-shell-runtime .fa-runtime-profile-overlay-panel .fa-profile-prefill-options {
    display: grid;
    gap: 14px;
    max-width: 620px;
}

body.fa-shell-runtime .fa-runtime-profile-overlay-panel .fa-profile-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 22px;
}

body.fa-shell-runtime .fa-runtime-profile-overlay-panel .fa-profile-field,
body.fa-shell-runtime .fa-runtime-signin-overlay-panel .fa-profile-field,
body.fa-auth-shell .fa-profile-field {
    display: grid;
    gap: 8px;
    align-content: start;
    min-width: 0;
}

body.fa-shell-runtime .fa-runtime-profile-overlay-panel .fa-profile-field .form-label,
body.fa-shell-runtime .fa-runtime-signin-overlay-panel .fa-profile-field .form-label,
body.fa-auth-shell .fa-profile-field .form-label {
    margin: 0;
    color: #0f172a;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
}

body.fa-shell-runtime .fa-runtime-profile-overlay-panel .fa-profile-field .form-control,
body.fa-shell-runtime .fa-runtime-signin-overlay-panel .fa-profile-field .form-control,
body.fa-auth-shell .fa-profile-field .form-control {
    min-height: 44px;
    padding: 9px 14px;
    border: 1px solid #d6dde4;
    border-radius: 4px;
    background: #ffffff;
    color: #0f172a;
    font-size: 16px;
    line-height: 1.45;
    box-shadow: none;
}

body.fa-shell-runtime .fa-runtime-profile-overlay-panel .fa-profile-field textarea.form-control {
    min-height: 98px;
    resize: vertical;
}

body.fa-shell-runtime .fa-runtime-profile-overlay-panel .fa-profile-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding-top: 4px;
}

body.fa-shell-runtime .fa-runtime-profile-overlay-panel .fa-profile-actions .btn,
body.fa-shell-runtime .fa-runtime-signin-overlay-panel .btn,
body.fa-auth-shell .fa-auth-panel-content .btn {
    min-height: 42px;
    border-radius: 6px;
    font-weight: 700;
}

body.fa-shell-runtime .fa-runtime-profile-overlay-panel .fa-profile-alert,
body.fa-shell-runtime .fa-runtime-signin-overlay-panel .fa-profile-alert,
body.fa-auth-shell .fa-profile-alert {
    width: 100%;
    margin-bottom: 22px;
}

body.fa-shell-runtime .fa-profile-alert-danger,
body.fa-auth-shell .fa-profile-alert-danger {
    border-color: #f1b3b3;
    background: #fff1f1;
    color: #641f1f;
}

.fa-history-sections {
    display: grid;
    gap: 36px;
}

.fa-history-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.fa-history-count {
    display: inline-grid;
    min-width: 30px;
    min-height: 30px;
    padding: 4px 9px;
    place-items: center;
    border-radius: 999px;
    background: #e7f2f6;
    color: #0d5f7b;
    font-size: 13px;
    font-weight: 700;
}

.fa-history-list {
    display: grid;
    gap: 14px;
}

.fa-history-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    padding: 18px;
    border: 1px solid #dbe3e9;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 4px 14px rgba(24, 49, 60, 0.05);
}

.fa-history-card-icon {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 10px;
    background: #e7f2f6;
    color: #0d6b8a;
    font-size: 20px;
}

.fa-history-card-icon.is-completed {
    background: #eaf7ef;
    color: #19733d;
}

.fa-history-card-body {
    min-width: 0;
}

.fa-history-card-body h3 {
    margin: 0;
    color: #111827;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35;
}

.fa-history-card-subtitle,
.fa-history-card-meta {
    margin: 5px 0 0;
    color: #596879;
    font-size: 14px;
    line-height: 1.4;
}

.fa-history-downloads,
.fa-history-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.fa-history-downloads {
    margin-top: 12px;
}

.fa-history-card-actions {
    justify-content: flex-end;
}

.fa-history-card-actions .btn,
.fa-history-downloads .btn {
    min-height: 36px;
    font-weight: 700;
}

.fa-history-unavailable,
.fa-history-empty {
    color: #66717b;
    font-size: 14px;
}

.fa-history-empty {
    margin: 0;
    padding: 22px;
    border: 1px dashed #cbd6de;
    border-radius: 10px;
    background: #ffffff;
}

.fa-history-confirm-backdrop {
    position: fixed;
    z-index: 1000;
    inset: 0;
    display: grid;
    padding: 20px;
    place-items: center;
    background: rgba(15, 23, 42, 0.42);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.fa-history-confirm-backdrop.d-none {
    display: none !important;
}

.fa-history-confirm-dialog {
    position: static !important;
    width: min(100%, 520px);
}

@media (max-width: 767.98px) {
    .fa-history-sections {
        gap: 30px;
    }

    .fa-history-card {
        grid-template-columns: auto minmax(0, 1fr);
        align-items: start;
        padding: 16px;
    }

    .fa-history-card-actions {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .fa-history-card-actions .btn {
        width: 100%;
    }
}

body.fa-shell-runtime .fa-runtime-signin-overlay-panel .fa-auth-panel-content,
body.fa-auth-shell .fa-auth-panel-content {
    gap: 18px;
}

body.fa-shell-runtime .fa-runtime-signin-overlay-panel .fa-auth-alert,
body.fa-auth-shell .fa-auth-alert {
    margin-bottom: 0;
}

body.fa-shell-runtime .fa-runtime-signin-overlay-panel .fa-auth-form,
body.fa-auth-shell .fa-auth-form {
    display: grid;
    gap: 14px;
}

body.fa-shell-runtime .fa-runtime-signin-overlay-panel .fa-auth-divider,
body.fa-auth-shell .fa-auth-divider {
    color: #596879;
    font-size: 13px;
    text-align: center;
}

body.fa-auth-shell,
body.fa-auth-shell .fa-auth-page {
    min-height: 100vh;
    background: #f2f2f2;
}

body.fa-auth-shell .fa-auth-page {
    display: grid;
    place-items: center;
    padding: 24px !important;
}

body.fa-auth-shell .fa-auth-standalone-frame {
    width: min(100%, 560px);
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    padding: 34px 28px 40px;
    border: 1px solid rgba(255, 255, 255, 0.74);
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 20px 44px rgba(24, 49, 60, 0.12);
}

@media (max-width: 767.98px) {
    body.fa-shell-runtime .fa-runtime-profile-overlay-panel,
    body.fa-shell-runtime .fa-runtime-signin-overlay-panel,
    body.fa-shell-runtime[data-fa-runtime-preview-mode="mobile"] .fa-runtime-profile-overlay-panel,
    body.fa-shell-runtime[data-fa-runtime-preview-mode="mobile"] .fa-runtime-signin-overlay-panel {
        inset: 0 !important;
        width: auto !important;
        max-height: none !important;
        border: 0 !important;
        border-radius: 0 !important;
        transform: none !important;
    }

    body.fa-shell-runtime .fa-runtime-overlay-panel-header {
        min-height: 56px;
        padding: 0 16px;
    }

    body.fa-shell-runtime .fa-runtime-overlay-panel-body {
        padding: 24px 20px calc(28px + env(safe-area-inset-bottom, 0px));
    }

    body.fa-shell-runtime .fa-runtime-profile-overlay-panel .fa-profile-fields {
        grid-template-columns: 1fr;
    }

    body.fa-shell-runtime .fa-runtime-profile-overlay-panel .fa-profile-heading h1,
    body.fa-auth-shell .fa-auth-heading h1,
    body.fa-shell-runtime .fa-runtime-signin-overlay-panel .fa-auth-heading h1 {
        font-size: 32px;
    }

    body.fa-shell-runtime .fa-runtime-profile-overlay-panel .fa-profile-actions {
        position: sticky;
        bottom: calc(-28px - env(safe-area-inset-bottom, 0px));
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
        margin-right: -20px;
        margin-left: -20px;
        padding: 12px 20px calc(14px + env(safe-area-inset-bottom, 0px));
        border-top: 1px solid #e0e4e8;
        background: rgba(250, 250, 250, 0.96);
    }

    body.fa-shell-runtime .fa-runtime-profile-overlay-panel .fa-profile-actions .btn {
        width: 100%;
        min-width: 0;
        white-space: normal;
    }

    body.fa-auth-shell .fa-auth-page {
        padding: 0 !important;
        place-items: stretch;
    }

    body.fa-auth-shell .fa-auth-standalone-frame {
        width: 100%;
        max-height: none;
        min-height: 100vh;
        padding: 24px 20px 32px;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }
}
