#hi-pwa-install-bar,
#hi-pwa-help-modal {
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

#hi-pwa-install-bar {
    box-sizing: border-box;
    width: 100%;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 7px 16px;
    background: linear-gradient(90deg, #063B61 0%, #0876AC 100%);
    color: #fff;
    position: relative;
    z-index: 2147483000;
    box-shadow: 0 1px 0 rgba(255, 255, 255, .12) inset, 0 2px 8px rgba(2, 36, 61, .18);
}

#hi-pwa-install-bar[hidden],
#hi-pwa-help-modal[hidden] {
    display: none !important;
}

.hi-pwa-bar-copy {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
}

.hi-pwa-bar-icon {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    background: rgba(255,255,255,.14);
}

.hi-pwa-bar-icon svg {
    width: 17px;
    height: 17px;
}

.hi-pwa-bar-text {
    min-width: 0;
    font-size: 13px;
    line-height: 1.25;
}

.hi-pwa-bar-text strong {
    font-weight: 700;
}

.hi-pwa-bar-subtext {
    opacity: .9;
    margin-left: 4px;
}

.hi-pwa-install-button {
    border: 0;
    border-radius: 8px;
    background: #fff;
    color: #063B61;
    padding: 7px 13px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 1px 2px rgba(0,0,0,.12);
}

.hi-pwa-install-button:hover {
    background: #f4f8fb;
}

.hi-pwa-dismiss-button {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: rgba(255,255,255,.85);
    cursor: pointer;
    font-size: 19px;
    line-height: 1;
}

.hi-pwa-dismiss-button:hover {
    background: rgba(255,255,255,.12);
    color: #fff;
}

#hi-pwa-help-modal {
    position: fixed;
    inset: 0;
    z-index: 2147483646;
    background: rgba(10, 25, 38, .55);
    padding: 20px;
    align-items: center;
    justify-content: center;
}

#hi-pwa-help-modal.hi-pwa-modal-open {
    display: flex !important;
}

.hi-pwa-modal-card {
    width: min(430px, 100%);
    background: #fff;
    color: #17202a;
    border-radius: 16px;
    box-shadow: 0 24px 80px rgba(0,0,0,.24);
    padding: 22px;
}

.hi-pwa-modal-card h3 {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 750;
}

.hi-pwa-modal-card p,
.hi-pwa-modal-card li {
    font-size: 14px;
    line-height: 1.5;
}

.hi-pwa-modal-card ol {
    margin: 12px 0 18px 20px;
    padding: 0;
}

.hi-pwa-modal-close {
    width: 100%;
    border: 0;
    border-radius: 9px;
    background: #0876AC;
    color: #fff;
    padding: 10px 14px;
    font-weight: 700;
    cursor: pointer;
}

@media (max-width: 640px) {
    #hi-pwa-install-bar {
        justify-content: flex-start;
        gap: 8px;
        padding: 7px 9px;
    }

    .hi-pwa-bar-copy {
        flex: 1 1 auto;
    }

    .hi-pwa-bar-subtext {
        display: none;
    }

    .hi-pwa-install-button {
        padding: 7px 10px;
    }
}
