/* Install banner and offline notice added by pwa.js, shared by the LWR sites' head markup. */
.rm-pwa-banner {
    position: fixed;
    left: 12px;
    right: 12px;
    /* Sits above the offline notice while one shows (height set by pwa.js). */
    bottom: calc(12px + var(--rm-pwa-status-height, 0px) + env(safe-area-inset-bottom, 0px));
    z-index: 9000;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 16px;
    max-width: 560px;
    margin: 0 auto;
    padding: 16px;
    border-radius: 12px;
    background: var(--dxp-g-root, #ffffff);
    color: var(--dxp-g-root-contrast, #1a1b1e);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
    font-family: inherit;
    font-size: 0.875rem;
    line-height: 1.4;
}
.rm-pwa-banner img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    flex: none;
}
.rm-pwa-text {
    flex: 1 1 200px;
    min-width: 0;
}
.rm-pwa-text p {
    margin: 0;
}
.rm-pwa-title {
    font-weight: 600;
}
.rm-pwa-actions {
    display: flex;
    gap: 8px;
    margin-left: auto;
}
.rm-pwa-banner button {
    min-height: 44px;
    padding: 0 16px;
    border-radius: 8px;
    border: 1px solid var(--rm-pwa-accent);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}
.rm-pwa-primary {
    background: var(--rm-pwa-accent);
    color: var(--dxp-g-root, #ffffff);
}
.rm-pwa-secondary {
    background: var(--dxp-g-root, #ffffff);
    color: var(--rm-pwa-accent);
}
.rm-pwa-banner button:focus-visible {
    outline: 2px solid var(--rm-pwa-accent);
    outline-offset: 2px;
}
/* At the bottom and click-through: the sites' sticky navigation owns the top edge. */
.rm-pwa-status {
    position: fixed;
    bottom: env(safe-area-inset-bottom, 0px);
    left: 0;
    right: 0;
    z-index: 9001;
    padding: 8px 16px;
    background: var(--dxp-g-root-contrast, #1a1b1e);
    color: var(--dxp-g-root, #ffffff);
    font-family: inherit;
    font-size: 0.875rem;
    text-align: center;
    pointer-events: none;
}
.rm-pwa-status:empty {
    padding: 0;
}
@media print {
    .rm-pwa-banner,
    .rm-pwa-status {
        display: none;
    }
}
