.login-pwa-install {
    display: grid;
    gap: 10px;
}

.login-pwa-install[hidden],
.login-pwa-install-guide[hidden],
.login-pwa-install-status[hidden] {
    display: none;
}

.login-pwa-install-action {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px;
    align-items: center;
    gap: 8px;
}

.login-pwa-install-action > .secondary-button {
    width: 100%;
}

.login-pwa-install-help {
    position: relative;
}

.login-pwa-install-help > summary {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid var(--zn-member-border-strong);
    border-radius: 999px;
    color: var(--zn-member-text-secondary);
    background: var(--zn-member-bg-surface-hover);
    cursor: pointer;
    font-weight: 750;
    list-style: none;
    user-select: none;
}

.login-pwa-install-help > summary::-webkit-details-marker {
    display: none;
}

.login-pwa-install-help > summary:focus-visible {
    outline: 2px solid var(--zn-member-text-primary);
    outline-offset: 2px;
}

.login-pwa-install-help > p {
    position: absolute;
    right: 0;
    bottom: calc(100% + 10px);
    z-index: var(--z-layer-dropdown, 100);
    width: min(300px, calc(100vw - 64px));
    margin: 0;
    padding: 12px 14px;
    border: 1px solid var(--zn-member-border-strong);
    border-radius: 12px;
    color: var(--zn-member-text-secondary);
    background: var(--zn-member-bg-card);
    box-shadow: var(--zn-member-shadow);
    font-size: 0.82rem;
    line-height: 1.45;
}

.login-pwa-install-guide {
    display: grid;
    gap: 4px;
    padding: 12px 14px;
    border: 1px solid var(--zn-member-border);
    border-radius: 12px;
    color: var(--zn-member-text-secondary);
    background: var(--zn-member-bg-surface-hover);
    font-size: 0.8rem;
    line-height: 1.45;
}

.login-pwa-install-guide strong {
    color: var(--zn-member-text-primary);
}

.login-pwa-install-status {
    color: var(--zn-member-text-secondary);
    font-size: 0.78rem;
    line-height: 1.4;
}
