.tenant-financial-onboarding-notice {
    position: fixed;
    right: 24px;
    bottom: max(112px, calc(env(safe-area-inset-bottom, 0px) + 112px));
    z-index: 1040;
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 560px;
    padding: 12px 14px;
    border: 1px solid #cbd8e6;
    border-radius: 8px;
    background: #fff;
    color: #334155;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .14);
}

.tenant-financial-onboarding-notice.is-dragging {
    user-select: none;
}

.tenant-financial-onboarding-notice__drag-handle {
    display: inline-flex;
    flex: 0 0 32px;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 1px solid #dbe5ef;
    border-radius: 8px;
    background: #f8fafc;
    color: #64748b;
    cursor: grab;
    touch-action: none;
}

.tenant-financial-onboarding-notice__drag-handle:hover {
    border-color: #b9c9da;
    background: #eef4fa;
    color: #334155;
}

.tenant-financial-onboarding-notice__drag-handle:focus-visible {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

.tenant-financial-onboarding-notice.is-dragging .tenant-financial-onboarding-notice__drag-handle {
    cursor: grabbing;
}

.tenant-financial-onboarding-notice .btn {
    flex: 0 0 auto;
}

.tenant-financial-onboarding-head,
.tenant-financial-switch-row,
.tenant-financial-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.tenant-financial-onboarding-head {
    margin-bottom: 18px;
}

.tenant-financial-onboarding-head h3,
.tenant-financial-section h4 {
    margin-top: 0;
}

.tenant-financial-switch-row {
    min-height: 68px;
    padding: 14px 16px;
    border: 1px solid #dbe5ef;
    border-radius: 8px;
    background: #f8fafc;
}

.tenant-financial-switch-copy {
    flex: 1 1 auto;
    min-width: 0;
}

.tenant-financial-switch-copy h4,
.tenant-financial-switch-copy strong {
    display: block;
    margin: 0;
}

.tenant-financial-switch-row .imatrix-compact-switch {
    flex: 0 0 auto;
    align-self: center;
    margin: 0;
}

.tenant-financial-onboarding-head p,
.tenant-financial-switch-row p {
    margin: 4px 0 0;
    color: #64748b;
}

.tenant-financial-section .panel-body {
    padding: 20px;
}

.tenant-financial-qr-fields {
    margin-top: 18px;
}

.tenant-financial-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
    margin: 14px 0;
}

.tenant-financial-review {
    margin-top: 18px;
}

body.theme-dark .tenant-financial-onboarding-notice,
body.admin-dark-theme .tenant-financial-onboarding-notice,
body.adm_dark .tenant-financial-onboarding-notice,
body.adm-theme-arctic-white-dark .tenant-financial-onboarding-notice,
body.admin-theme-arctic-white-dark .tenant-financial-onboarding-notice {
    border-color: #334155;
    background: #111827;
    color: #e5edf7;
}

body.theme-dark .tenant-financial-onboarding-notice__drag-handle,
body.admin-dark-theme .tenant-financial-onboarding-notice__drag-handle,
body.adm_dark .tenant-financial-onboarding-notice__drag-handle,
body.adm-theme-arctic-white-dark .tenant-financial-onboarding-notice__drag-handle,
body.admin-theme-arctic-white-dark .tenant-financial-onboarding-notice__drag-handle {
    border-color: #475569;
    background: #1e293b;
    color: #cbd5e1;
}

body.theme-dark .tenant-financial-onboarding-notice__drag-handle:hover,
body.admin-dark-theme .tenant-financial-onboarding-notice__drag-handle:hover,
body.adm_dark .tenant-financial-onboarding-notice__drag-handle:hover,
body.adm-theme-arctic-white-dark .tenant-financial-onboarding-notice__drag-handle:hover,
body.admin-theme-arctic-white-dark .tenant-financial-onboarding-notice__drag-handle:hover {
    border-color: #64748b;
    background: #273449;
    color: #f8fafc;
}

body.theme-dark .tenant-financial-onboarding-head p,
body.theme-dark .tenant-financial-switch-row p,
body.admin-dark-theme .tenant-financial-onboarding-head p,
body.admin-dark-theme .tenant-financial-switch-row p,
body.adm_dark .tenant-financial-onboarding-head p,
body.adm_dark .tenant-financial-switch-row p,
body.adm-theme-arctic-white-dark .tenant-financial-onboarding-head p,
body.adm-theme-arctic-white-dark .tenant-financial-switch-row p,
body.admin-theme-arctic-white-dark .tenant-financial-onboarding-head p,
body.admin-theme-arctic-white-dark .tenant-financial-switch-row p {
    color: #9fb0c4;
}

body.theme-dark .tenant-financial-switch-row,
body.admin-dark-theme .tenant-financial-switch-row,
body.adm_dark .tenant-financial-switch-row,
body.adm-theme-arctic-white-dark .tenant-financial-switch-row,
body.admin-theme-arctic-white-dark .tenant-financial-switch-row {
    border-color: #334155;
    background: #111827;
}

@media (max-width: 767px) {
    .tenant-financial-onboarding-notice {
        right: 12px;
        bottom: max(96px, calc(env(safe-area-inset-bottom, 0px) + 96px));
        left: 12px;
        width: calc(100vw - 24px);
        max-width: none;
        flex-wrap: wrap;
    }

    .tenant-financial-onboarding-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .tenant-financial-onboarding-head .label {
        align-self: flex-start;
    }

    .tenant-financial-switch-row {
        align-items: flex-start;
    }

    .tenant-financial-switch-row {
        gap: 12px;
        padding: 13px 14px;
    }

    .tenant-financial-actions .btn {
        flex: 1 1 220px;
    }
}
